diff options
| author | Florian Fainelli | 2017-04-19 01:05:02 +0000 |
|---|---|---|
| committer | Florian Fainelli | 2017-04-19 01:05:02 +0000 |
| commit | 7f8a7435d5d6ad77a93004cb62942038c7491a73 (patch) | |
| tree | ff0a573f1ab5d1d79f6992070cbcfe95cac8f2f5 | |
| parent | 6db8bc07063386cdb2b20716d5dde66127399422 (diff) | |
| download | telephony-7f8a7435d5d6ad77a93004cb62942038c7491a73.tar.gz | |
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>
| -rw-r--r-- | net/pcapsipdump/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/pcapsipdump/Makefile b/net/pcapsipdump/Makefile index ca26bda..77dd64b 100644 --- a/net/pcapsipdump/Makefile +++ b/net/pcapsipdump/Makefile @@ -41,7 +41,8 @@ TARGET_CC=$(TARGET_CXX) define Build/Compile $(TARGET_CONFIGURE_OPTS) \ $(MAKE) -C $(PKG_BUILD_DIR) \ - CPPFLAGS="$(TARGET_CXXFLAGS) -fno-rtti" \ + CPPFLAGS="$(TARGET_CXXFLAGS) $(TARGET_CPPFLAGS) -fno-rtti" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ LIBS="-lpcap" endef |