[openwrt/openwrt] toolchain/binutils: fill in missing GRAPHITE_CONFIGURE
LEDE Commits
lede-commits at lists.infradead.org
Sun Feb 19 10:45:28 PST 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/cd8366ad20e0596bf9a477453effb6dc9fe48b20
commit cd8366ad20e0596bf9a477453effb6dc9fe48b20
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Tue Jan 31 11:07:42 2023 +0100
toolchain/binutils: fill in missing GRAPHITE_CONFIGURE
This var is used further down, but it's empty.
Fix that with the very same values gcc uses.
Signed-off-by: Andre Heider <a.heider at gmail.com>
---
toolchain/binutils/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index a0e112f8f6..af670f5646 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -37,6 +37,12 @@ PATCH_DIR:=./patches/$(PKG_VERSION)
include $(INCLUDE_DIR)/toolchain-build.mk
+ifdef CONFIG_GCC_USE_GRAPHITE
+ GRAPHITE_CONFIGURE:= --with-isl=$(STAGING_DIR_HOST)
+else
+ GRAPHITE_CONFIGURE:= --without-isl --without-cloog
+endif
+
HOST_CONFIGURE_ARGS = \
--prefix=$(TOOLCHAIN_DIR) \
--build=$(GNU_HOST_NAME) \
More information about the lede-commits
mailing list