projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3c11a8
)
smartsnmpd: Properly pass down TARGET_CPPFLAGS
author
Florian Fainelli
<f.fainelli@gmail.com>
Wed, 19 Apr 2017 00:59:41 +0000
(17:59 -0700)
committer
Florian Fainelli
<f.fainelli@gmail.com>
Tue, 6 Jun 2017 00:18:51 +0000
(17:18 -0700)
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>
net/smartsnmpd/Makefile
patch
|
blob
|
history
diff --git
a/net/smartsnmpd/Makefile
b/net/smartsnmpd/Makefile
index 9be39cbacf5c0ba01946a1e1df70d08fb5927fd2..0f767daa987e568733a23af64694bb4119b9e6db 100644
(file)
--- a/
net/smartsnmpd/Makefile
+++ b/
net/smartsnmpd/Makefile
@@
-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) \