pcapsipdump: Pass down TARGET_CPPFLAGS and TARGET_LDFLAGS
Make sure that we properly pass down both TARGET_CPPFLAGS and TARGET_LDFLAGS in order to fix build failures with external toolchains that don't automatically search for headers and libraries in $(STAGING_DIR). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
parent
6db8bc0706
commit
7f8a7435d5
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ TARGET_CC=$(TARGET_CXX)
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CPPFLAGS="$(TARGET_CXXFLAGS) -fno-rtti" \
|
CPPFLAGS="$(TARGET_CXXFLAGS) $(TARGET_CPPFLAGS) -fno-rtti" \
|
||||||
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
LIBS="-lpcap"
|
LIBS="-lpcap"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue