summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH1
1 files changed, 1 insertions, 0 deletions
diff --git a/cflags.SH b/cflags.SH
index aa730c6dd0..dbd24b6cda 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -265,6 +265,7 @@ case "$cc" in
# but we remove it just for cleanliness and shorter command lines.
for f in -Wdeclaration-after-statement \
-Werror=declaration-after-statement \
+ -Wc++-compat \
-std=c89
do
case "$ccflags$warn" in