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
@@ -113,9 +113,9 @@ do
113
case "$NO_PEDANTIC" in
114
?*) ;;
115
'')
116
- O="$O -Werror $(old_style_def_fix) -std=c99"
117
- O="$O -Wno-pointer-to-int-cast"
118
- O="$O -Wpointer-arith -Woverflow -Wunused"
116
+ O="-Werror $(old_style_def_fix) -std=c99 $O"
117
+ O="-Wno-pointer-to-int-cast $O"
118
+ O="-Wpointer-arith -Woverflow -Wunused $O"
119
;;
120
esac
121
# -Wvla