summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9a32d9c8b6..86eebce684 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,6 +127,9 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Winit-self \
-Wdeclaration-after-statement \
-Wfloat-equal \
+ -Wsuggest-attribute=pure \
+ -Wsuggest-attribute=const \
+ -Wsuggest-attribute=noreturn \
-Wmissing-prototypes \
-Wstrict-prototypes \
-Wredundant-decls \
@@ -144,6 +147,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Wno-unused-result \
-Werror=overflow \
-Wdate-time \
+ -Wnested-externs \
-ffast-math \
-fno-common \
-fdiagnostics-show-option \