Browse Source

Revert "cleanup duplicate configure args for gcc"

This reverts commit 104a7e63b5fcdc1bf124142b31498795b23eeb57.
Waldemar Brodkorb 9 years ago
parent
commit
e13711b8e8
1 changed files with 5 additions and 4 deletions
  1. 5 4
      toolchain/gcc/Makefile

+ 5 - 4
toolchain/gcc/Makefile

@@ -151,17 +151,17 @@ endif
 
 ifeq ($(ADK_TARGET_ARCH_X86),y)
 ifeq ($(ADK_TARGET_KERNEL_64),y)
-GCC_CONFOPTS+=		--enable-biarch --enable-targets=all --disable-multilib
+GCC_FINAL_CONFOPTS+=	--enable-biarch --enable-targets=all --disable-multilib
 else
-GCC_CONFOPTS+=		--disable-biarch --disable-multilib
+GCC_FINAL_CONFOPTS+=    --disable-biarch --disable-multilib
 endif
 endif
 
 ifeq ($(ADK_TARGET_ARCH_X86_64),y)
 ifneq ($(ADK_TARGET_ABI_X32),)
-GCC_CONFOPTS+=		--with-abi=x32
+GCC_FINAL_CONFOPTS+=	--with-abi=x32
 else
-GCC_CONFOPTS+=		--disable-biarch --disable-multilib
+GCC_FINAL_CONFOPTS+=	--disable-biarch --disable-multilib
 endif
 endif
 
@@ -241,6 +241,7 @@ $(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 \