Add settings for x32 ABI, and make amd64 explicit in case it is not the default ABI.
authorMike Frysinger <vapier@gentoo.org>
Wed, 7 Dec 2011 19:23:45 +0000 (19:23 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 7 Dec 2011 19:23:45 +0000 (19:23 +0000)
profiles/arch/amd64/ChangeLog
profiles/arch/amd64/make.defaults

index aaab535c25f19b2b5f85581d2e758609f8c00d0c..96216e370d48f228f7e6389e8b8539ae61d78b19 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for Gentoo/AMD64 profile directory
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/ChangeLog,v 1.155 2011/11/29 23:44:51 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/ChangeLog,v 1.156 2011/12/07 19:23:45 vapier Exp $
+
+  07 Dec 2011; Mike Frysinger <vapier@gentoo.org> make.defaults:
+  Add settings for x32 ABI, and make amd64 explicit in case it is not the
+  default ABI.
 
   29 Nov 2011; Davide Pesavento <pesa@gentoo.org> package.use.mask:
   Unmask USE="jit" for qt-webkit.
index 65daf9de0f88d9c13551e93732d4eea963a17925..17ee4a38b98b9f0bba75b4212171a1bdaba76e93 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/make.defaults,v 1.9 2011/10/14 22:52:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/make.defaults,v 1.10 2011/12/07 19:23:45 vapier Exp $
 
 ARCH="amd64"
 ACCEPT_KEYWORDS="${ARCH}"
@@ -17,6 +17,8 @@ DEFAULT_ABI="amd64"
 ABI="amd64"
 
 # 64bit specific settings.
+CFLAGS_amd64="-m64"
+LDFLAGS_amd64="-m elf_x86_64"
 CHOST_amd64="x86_64-pc-linux-gnu"
 
 # 32bit specific settings.
@@ -24,6 +26,11 @@ CFLAGS_x86="-m32"
 LDFLAGS_x86="-m elf_i386"
 CHOST_x86="i686-pc-linux-gnu"
 
+# 64-32bit specific settings.
+CFLAGS_x32="-mx32"
+LDFLAGS_x32="-m elf32_x86_64"
+CHOST_x32="x86_64-pc-linux-gnu"
+
 # 2006/10/24 - Simon Stelling <blubb@gentoo.org>
 # They are masked, but we can enable them anyway for those who have 
 # >=portage-2.1.2_pre3-r4