diff options
Diffstat (limited to 'config.mak.dev')
-rw-r--r-- | config.mak.dev | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.mak.dev b/config.mak.dev index d4afac6b51..3deb076d5e 100644 --- a/config.mak.dev +++ b/config.mak.dev @@ -20,9 +20,14 @@ endif endif endif +ifneq ($(uname_S),FreeBSD) ifneq ($(or $(filter gcc6,$(COMPILER_FEATURES)),$(filter clang7,$(COMPILER_FEATURES))),) DEVELOPER_CFLAGS += -std=gnu99 endif +else +# FreeBSD cannot limit to C99 because its system headers unconditionally +# rely on C11 features. +endif DEVELOPER_CFLAGS += -Wdeclaration-after-statement DEVELOPER_CFLAGS += -Wformat-security |