summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-08-09 19:51:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-08-09 19:51:37 +0200
commit104a7e63b5fcdc1bf124142b31498795b23eeb57 (patch)
treebce8b0c2617529d7c14da05f63bc4f2b4da45bf0 /toolchain
parentba54b9846d02d9be0f12792d910f371b1dd02699 (diff)
cleanup duplicate configure args for gcc
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 \