aboutsummaryrefslogtreecommitdiff
path: root/net/mdnsresponder
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-04-01 15:27:49 -0700
committerFlorian Fainelli <f.fainelli@gmail.com>2017-04-01 17:52:24 -0700
commitdf1236a51aab3201bd0a108af7723c673343b26c (patch)
tree168f424dff5680af1e4137a99e5cfc1f50712a0a /net/mdnsresponder
parent0c432f890220053330cdaf74876c6d652bfb3c11 (diff)
mdnsresponder: Also pass TARGET_CPPFLAGS
Use CFLAGS_DEBUG which is already used for TARGET_CFLAGS to also pass TARGET_CPPFLAGS. This fixes build issues with toolchains that don't automatically search for header files (e.g: sys/capability.h), such as stbgcc-4.8-1.5 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'net/mdnsresponder')
-rw-r--r--net/mdnsresponder/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mdnsresponder/Makefile b/net/mdnsresponder/Makefile
index 4b2f5be68..627fd449f 100644
--- a/net/mdnsresponder/Makefile
+++ b/net/mdnsresponder/Makefile
@@ -86,7 +86,7 @@ endef
# not found:
MAKE_FLAGS += \
LD="$(TARGET_CC)" \
- CFLAGS_DEBUG="$(TARGET_CFLAGS)" \
+ CFLAGS_DEBUG="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
LINKOPTS=-lc \
LDCONFIG= \
ETCBASE="$(PKG_INSTALL_DIR)/etc" \