smartsnmpd: Properly pass down TARGET_CPPFLAGS
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 19 Apr 2017 00:59:41 +0000 (17:59 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Tue, 6 Jun 2017 00:18:51 +0000 (17:18 -0700)
commitfdd3f3f7f955266333b1957be93d3cd58a88ef85
treee93ed775360d8c3c77ba9c5080945d3950edbedd
parentd3c11a8f92d728269b729092ccb2a899bccf4e7e
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>
net/smartsnmpd/Makefile