make: remove -Wmissing-include-dirs
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 4 Jan 2017 17:12:35 +0000 (18:12 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 4 Jan 2017 17:12:48 +0000 (18:12 +0100)
It's causing grief for LEDE/OpenWRT and doesn't seem that useful in the
first place.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Makefile.inc
lib/pud/nmealib/Makefile.inc

index 30b3f6e..be8d8c5 100644 (file)
@@ -159,7 +159,6 @@ WARNINGS += -Winit-self
 WARNINGS += -Winline
 WARNINGS += -Wmissing-declarations
 WARNINGS += -Wmissing-format-attribute
-WARNINGS += -Wmissing-include-dirs
 WARNINGS += -Wmissing-noreturn
 WARNINGS += -Wmissing-prototypes
 WARNINGS += -Wno-deprecated-declarations
index da20b93..6a9fb14 100644 (file)
@@ -1,4 +1,4 @@
-######################
+  ######################
 #
 # Settings
 #
@@ -63,7 +63,7 @@ COMMONCFLAGS += -Wall -Wextra -Wold-style-definition -Wdeclaration-after-stateme
                 -Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations -Wendif-labels -Wwrite-strings \
                 -Wbad-function-cast -Wpointer-arith -Wcast-qual -Wshadow -Wformat -Wsequence-point -Wcast-align \
                 -Wnested-externs -Winline -Wdisabled-optimization -funit-at-a-time -fPIC -ggdb -Wformat=2 -Winit-self \
-                -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wconversion -Wdouble-promotion \
+                -Wswitch-default -Wswitch-enum -Wconversion -Wdouble-promotion \
                 -Werror=format-security -Wformat-security -Wformat-y2k -Wredundant-decls -Wundef -Wunreachable-code \
                 -Wunused-parameter