diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-02-12 18:29:53 -0800 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2017-03-01 17:19:51 -0800 |
commit | 4aa1560de3ce7e1ce813f450025ee0c55ab868eb (patch) | |
tree | 9af5598cb43cd0f9ade6c0c4d0decce45323bbc7 | |
parent | fe8618a8fe0db1bc8f343c0f75082ff96e9991ab (diff) | |
download | upstream-4aa1560de3ce7e1ce813f450025ee0c55ab868eb.tar.gz upstream-4aa1560de3ce7e1ce813f450025ee0c55ab868eb.tar.bz2 upstream-4aa1560de3ce7e1ce813f450025ee0c55ab868eb.zip |
adb: Also pass TARGET_CPPFLAGS
Fixes build issues with external toolchains that do not have STAGING_DIR
in their default search path.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
-rw-r--r-- | package/utils/adb/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/adb/Makefile b/package/utils/adb/Makefile index 1e77bb7e8a..0861696527 100644 --- a/package/utils/adb/Makefile +++ b/package/utils/adb/Makefile @@ -40,7 +40,7 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/adb/ \ $(TARGET_CONFIGURE_OPTS) \ TARGET=Linux \ - CFLAGS="$(TARGET_CFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" endef |