Merge pull request #141 from ffainelli/fixes

pcapsipdump: Pass down TARGET_CPPFLAGS and TARGET_LDFLAGS
This commit is contained in:
Jiri Slachta 2017-05-06 20:27:54 +02:00 committed by GitHub
commit bb6b12176a

View file

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