Meta/Make: prepend the canned settings to $O
Otherwise "O=<some custom settings> Meta/Make" will not be able to override them.
Junio C Hamano committed
Aug 19, 2013 at 13:36 UTC
cc3b7dec98546f4b2950272d73c18becae44b571
1 file changed
+3
-3
Make
+3
-3
index 0e40505817..ee4f266851 100755
--- a/Make
+++ b/Make
@@ -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