summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 6c4b0e2e2..e0a0c8655 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -151,17 +151,17 @@ endif
ifeq ($(ADK_TARGET_ARCH_X86),y)
ifeq ($(ADK_TARGET_KERNEL_64),y)
-GCC_FINAL_CONFOPTS+= --enable-biarch --enable-targets=all --disable-multilib
+GCC_CONFOPTS+= --enable-biarch --enable-targets=all --disable-multilib
else
-GCC_FINAL_CONFOPTS+= --disable-biarch --disable-multilib
+GCC_CONFOPTS+= --disable-biarch --disable-multilib
endif
endif
ifeq ($(ADK_TARGET_ARCH_X86_64),y)
ifneq ($(ADK_TARGET_ABI_X32),)
-GCC_FINAL_CONFOPTS+= --with-abi=x32
+GCC_CONFOPTS+= --with-abi=x32
else
-GCC_FINAL_CONFOPTS+= --disable-biarch --disable-multilib
+GCC_CONFOPTS+= --disable-biarch --disable-multilib
endif
endif
@@ -241,7 +241,6 @@ $(GCC_BUILD_DIR_INITIAL)/.configured:
CXXFLAGS="-O0 -g0 -fomit-frame-pointer" \
$(WRKBUILD)/configure \
${GCC_CONFOPTS} \
- ${GCC_FINAL_CONFOPTS} \
--enable-languages=c \
--disable-shared \
--disable-threads \