lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit df1236a51aab3201bd0a108af7723c673343b26c
parent 0c432f890220053330cdaf74876c6d652bfb3c11
Author: Florian Fainelli <f.fainelli@gmail.com>
Date:   Sat,  1 Apr 2017 15:27:49 -0700

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:
Mnet/mdnsresponder/Makefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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" \