From 601c75bfda4aa2f1c8fbeb8872ee82865b608ce8 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Sat, 22 Jan 2022 09:59:33 +0100 Subject: [PATCH] toolchain: gcc: put disable-multilib into a var Signed-off-by: Zoltan HERPAI --- toolchain/gcc/common.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index bef4fa37f8..424e3ab10c 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -80,6 +80,8 @@ else GRAPHITE_CONFIGURE:= --without-isl --without-cloog endif +DISABLE_MULTILIB:=--disable-multilib + GCC_CONFIGURE:= \ SHELL="$(BASH)" \ $(if $(shell gcc --version 2>&1 | grep -E "Apple.(LLVM|clang)"), \ @@ -97,7 +99,7 @@ GCC_CONFIGURE:= \ --enable-target-optspace \ --disable-libgomp \ --disable-libmudflap \ - --disable-multilib \ + $(DISABLE_MULTILIB) \ --disable-libmpx \ --disable-nls \ --disable-libssp \ -- 2.30.2