From: Zoltan HERPAI Date: Sat, 22 Jan 2022 08:59:33 +0000 (+0100) Subject: toolchain: gcc: put disable-multilib into a var X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4f40a7380f9d82dce3e98c95fc686ed018f7ecfc;p=openwrt%2Fstaging%2Fwigyori.git toolchain: gcc: put disable-multilib into a var Signed-off-by: Zoltan HERPAI --- 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 \