Meta/Make: prepend the canned settings to $O

Otherwise "O=<some custom settings> Meta/Make" will not be able to
override them.
This commit is contained in:
Junio C Hamano
2013-08-19 13:36:33 -07:00
parent 8f469d99bf
commit cc3b7dec98

6
Make
View File

@@ -113,9 +113,9 @@ do
case "$NO_PEDANTIC" in
?*) ;;
'')
O="$O -Werror $(old_style_def_fix) -std=c99"
O="$O -Wno-pointer-to-int-cast"
O="$O -Wpointer-arith -Woverflow -Wunused"
O="-Werror $(old_style_def_fix) -std=c99 $O"
O="-Wno-pointer-to-int-cast $O"
O="-Wpointer-arith -Woverflow -Wunused $O"
;;
esac
# -Wvla