Skip to content

Commit cc3b7de

Browse files
committed
Meta/Make: prepend the canned settings to $O
Otherwise "O=<some custom settings> Meta/Make" will not be able to override them.
1 parent 8f469d9 commit cc3b7de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Make

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ do
113113
case "$NO_PEDANTIC" in
114114
?*) ;;
115115
'')
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"
119119
;;
120120
esac
121121
# -Wvla

0 commit comments

Comments
 (0)