uanytun: Pass down TARGET_CPPFLAGS
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 2 Apr 2017 20:53:56 +0000 (13:53 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sun, 2 Apr 2017 20:56:08 +0000 (13:56 -0700)
commit11543475e322bf69bf102a4b8883cae7ad25f7b6
tree96e6da9928a9b0ddf9e029d55a20b52089b16be4
parentdd46a5fc1bc7f2582b6cc4d942d93f050fce42a5
uanytun: Pass down TARGET_CPPFLAGS

Fixes build errors with toolchains that don't automatically search for
headers in STAGING_DIR (such as external toolchains) resulting in the
following build failures:

mipsel-linux-gnu-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc
-fno-caller-saves -Wno-unused-result  -D_FORTIFY_SOURCE=1 -Wl,-z,now
-Wl,-z,relro  -DUSE_SSL_CRYPTO -c options.c
In file included from options.c:62:0:
auth_algo.h:53:26: fatal error: openssl/hmac.h: No such file or
directory
 #include <openssl/hmac.h>
                          ^
compilation terminated.
Makefile:95: recipe for target 'options.o' failed
make[4]: *** [options.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
net/uanytun/Makefile