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
This commit is contained in:
commit
5536415551
@ -19,6 +19,11 @@ endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(or $(filter gcc6,$(COMPILER_FEATURES)),$(filter clang7,$(COMPILER_FEATURES))),)
|
||||
DEVELOPER_CFLAGS += -std=gnu99
|
||||
endif
|
||||
|
||||
DEVELOPER_CFLAGS += -Wdeclaration-after-statement
|
||||
DEVELOPER_CFLAGS += -Wformat-security
|
||||
DEVELOPER_CFLAGS += -Wold-style-definition
|
||||
|
Loading…
Reference in New Issue
Block a user