Browse Source

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>
lilik-openwrt-22.03
Florian Fainelli 8 years ago
parent
commit
df1236a51a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/mdnsresponder/Makefile

+ 1
- 1
net/mdnsresponder/Makefile View File

@ -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" \


Loading…
Cancel
Save