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:
parent
d3c11a8f92
commit
fdd3f3f7f9
1 changed files with 1 additions and 0 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue