summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-26 12:13:50 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-26 12:14:00 -0500
commitb740a110d070e065a1129a9612f2b1d5ff77524f (patch)
tree3907f1bf5c742a757b6e11c9c47a8bfe82ec2305 /toolchain/gcc/Makefile
parentcbd602d1e2f78be3c82615fb79099a1709a79b68 (diff)
refactor LINUX_64 support, hide symbol for developers of boards
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