From: Florian Fainelli Date: Sat, 1 Apr 2017 22:27:49 +0000 (-0700) Subject: mdnsresponder: Also pass TARGET_CPPFLAGS X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=df1236a51aab3201bd0a108af7723c673343b26c;p=openwrt-packages.git 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 --- 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" \