diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-02-12 18:29:53 -0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 14:37:28 +0100 |
commit | 2d31ec4c1bac03c0c2e76da504bef8967fa22e0d (patch) | |
tree | 75094c081a93e6d7e6103a9c80ce80908a63227a /package/utils | |
parent | ec395eeb172fa7cb5972279915b2ae1477c85582 (diff) | |
download | upstream-2d31ec4c1bac03c0c2e76da504bef8967fa22e0d.tar.gz upstream-2d31ec4c1bac03c0c2e76da504bef8967fa22e0d.tar.bz2 upstream-2d31ec4c1bac03c0c2e76da504bef8967fa22e0d.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>
(cherry picked from commit 4aa1560de3ce7e1ce813f450025ee0c55ab868eb)
Diffstat (limited to 'package/utils')
-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 |