summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-27 20:54:43 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-27 20:54:43 +0200
commit58549cb7a62a895b87d44efe98d8ce2e624b5d6f (patch)
treee68571e0501ef5da89dbe1089ad9f3eef470ac06 /toolchain/gcc/Makefile
parent5ffc823114c78a9470a2ad17b2985575ecd362ec (diff)
parentce815fbe043c69f7ab8c51a3fa93c14445d7e1fc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 6285b2af6..caa4b2437 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -135,10 +135,9 @@ endif
endif
ifeq ($(ADK_TARGET_ARCH_X86_64),y)
-ifeq ($(ADK_TARGET_ABI_X32),y)
+ifneq ($(ADK_TARGET_ABI_X32),)
GCC_FINAL_CONFOPTS+= --with-abi=x32
-endif
-ifeq ($(ADK_TARGET_ABI_64),y)
+else
GCC_FINAL_CONFOPTS+= --disable-biarch --disable-multilib
endif
endif