aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2023-01-31 11:07:42 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-02-19 19:44:39 +0100
commitcd8366ad20e0596bf9a477453effb6dc9fe48b20 (patch)
tree9b6b372292d13cb11d472bc688480ad93c4b0cc2 /toolchain/binutils
parentae751535de0cb46978bfcbacab882dd1082e59e3 (diff)
downloadupstream-cd8366ad20e0596bf9a477453effb6dc9fe48b20.tar.gz
upstream-cd8366ad20e0596bf9a477453effb6dc9fe48b20.tar.bz2
upstream-cd8366ad20e0596bf9a477453effb6dc9fe48b20.zip
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@gmail.com>
Diffstat (limited to 'toolchain/binutils')
-rw-r--r--toolchain/binutils/Makefile6
1 files changed, 6 insertions, 0 deletions
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) \