Skip to content

Commit 5536415

Browse files
committed
Merge branch 'jk/limit-developers-to-gnu99'
Enable -std=gnu99 option in DEVELOPER builds. * jk/limit-developers-to-gnu99: config.mak.dev: specify -std=gnu99 for gcc/clang
2 parents 67b7017 + 5f46385 commit 5536415

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config.mak.dev

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ endif
1919
endif
2020
endif
2121
endif
22+
23+
ifneq ($(or $(filter gcc6,$(COMPILER_FEATURES)),$(filter clang7,$(COMPILER_FEATURES))),)
24+
DEVELOPER_CFLAGS += -std=gnu99
25+
endif
26+
2227
DEVELOPER_CFLAGS += -Wdeclaration-after-statement
2328
DEVELOPER_CFLAGS += -Wformat-security
2429
DEVELOPER_CFLAGS += -Wold-style-definition

0 commit comments

Comments
 (0)