aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 643e70f1..093fbf3d 100755
--- a/configure
+++ b/configure
@@ -334,9 +334,9 @@ else
fi
echo "CC=$CC" >> Makefile.settings;
-if echo $CC | grep -qw gcc; then
+if echo $CC | grep -qw 'gcc\|clang'; then
# Apparently -Wall is gcc-specific?
- echo CFLAGS+=-Wall >> Makefile.settings
+ echo CFLAGS+=-Wall -Wformat -Werror=format-security >> Makefile.settings
fi
if [ -z "$LD" ]; then