mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 09:40:18 +04:00
smartsnmpd: Properly pass down TARGET_CPPFLAGS
The smartsnmpd SConstruct file only accepts setting CFLAGS and does not use CPPFLAGS, so pass both down using CFLAGS. This fixes build errors with external toolchains that don't automatically search for headers in $(STAGING_DIR). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
@@ -47,6 +47,7 @@ SCONS_OPTIONS += --transport=uloop
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); \
|
||||
$(SCONS_VARS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||
scons \
|
||||
prefix=/usr \
|
||||
$(SCONS_OPTIONS) \
|
||||
|
||||
Reference in New Issue
Block a user