From: Florian Fainelli Date: Mon, 13 Feb 2017 02:29:53 +0000 (-0800) Subject: adb: Also pass TARGET_CPPFLAGS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4aa1560de3ce7e1ce813f450025ee0c55ab868eb;p=openwrt%2Fstaging%2Fyousong.git 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 --- 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