[source] adb: Also pass TARGET_CPPFLAGS
LEDE Commits
lede-commits at lists.infradead.org
Thu Dec 14 09:43:21 PST 2017
jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/2d31ec4c1bac03c0c2e76da504bef8967fa22e0d
commit 2d31ec4c1bac03c0c2e76da504bef8967fa22e0d
Author: Florian Fainelli <f.fainelli at gmail.com>
AuthorDate: Sun Feb 12 18:29:53 2017 -0800
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 at gmail.com>
(cherry picked from commit 4aa1560de3ce7e1ce813f450025ee0c55ab868eb)
---
package/utils/adb/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/utils/adb/Makefile b/package/utils/adb/Makefile
index 1e77bb7..0861696 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
More information about the lede-commits
mailing list