makefiles/cflags.inc.mk: add -Wmissing-include-dirs flag
Warn if a user-supplied include directory does not exist.
This commit is contained in:
parent
726581fc2e
commit
08ff1b73a2
@ -60,6 +60,9 @@ CFLAGS += -fno-common
|
|||||||
# Enable all default warnings
|
# Enable all default warnings
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
|
|
||||||
|
# Warn if a user-supplied include directory does not exist.
|
||||||
|
CFLAGS += -Wmissing-include-dirs
|
||||||
|
|
||||||
ifeq (,$(filter -DDEVELHELP,$(CFLAGS)))
|
ifeq (,$(filter -DDEVELHELP,$(CFLAGS)))
|
||||||
ifneq (1,$(FORCE_ASSERTS))
|
ifneq (1,$(FORCE_ASSERTS))
|
||||||
CFLAGS += -DNDEBUG
|
CFLAGS += -DNDEBUG
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user