summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2009-11-04 13:25:03 +0000
committerMichael Haubenwallner <haubi@gentoo.org>2009-11-04 13:25:03 +0000
commit140b47f80fcd47e0e4101e20a132bede8f4e375e (patch)
tree780ca7a9f549c067a50e050c22cd789a59350939 /profiles/prefix
parentVersion bump and old version cleanup (diff)
downloadgentoo-2-140b47f80fcd47e0e4101e20a132bede8f4e375e.tar.gz
gentoo-2-140b47f80fcd47e0e4101e20a132bede8f4e375e.tar.bz2
gentoo-2-140b47f80fcd47e0e4101e20a132bede8f4e375e.zip
add -m32 to CFLAGS, for bootstrapping i686 on x86_64-linux using host gcc
Diffstat (limited to 'profiles/prefix')
-rw-r--r--profiles/prefix/ChangeLog6
-rw-r--r--profiles/prefix/linux/x86/make.defaults6
2 files changed, 10 insertions, 2 deletions
diff --git a/profiles/prefix/ChangeLog b/profiles/prefix/ChangeLog
index 5b47a663fdac..845b99bc6ef1 100644
--- a/profiles/prefix/ChangeLog
+++ b/profiles/prefix/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for profiles/prefix
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/ChangeLog,v 1.112 2009/11/02 16:29:59 haubi Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/ChangeLog,v 1.113 2009/11/04 13:25:02 haubi Exp $
+
+ 04 Nov 2009; Michael Haubenwallner <haubi@gentoo.org>
+ linux/x86/make.defaults:
+ add -m32 to CFLAGS, for bootstrapping i686 on x86_64-linux using host gcc
02 Nov 2009; Michael Haubenwallner <haubi@gentoo.org> aix/package.mask:
dropped openssl mask on aix, fixed again to build good shared libs
diff --git a/profiles/prefix/linux/x86/make.defaults b/profiles/prefix/linux/x86/make.defaults
index c8ae38c58d22..8b8de84a9add 100644
--- a/profiles/prefix/linux/x86/make.defaults
+++ b/profiles/prefix/linux/x86/make.defaults
@@ -1,8 +1,12 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/linux/x86/make.defaults,v 1.2 2009/08/18 14:48:10 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/linux/x86/make.defaults,v 1.3 2009/11/04 13:25:03 haubi Exp $
ARCH="x86"
CHOST="i686-pc-linux-gnu"
# The base profile sets ACCEPT_KEYWORDS=x86 and we don't have that in prefix.
ACCEPT_KEYWORDS="-x86 ~x86-linux"
+
+# in case we are bootstrapping with the host compiler on an amd64 linux host:
+CFLAGS="${CFLAGS} -m32"
+CXXFLAGS="${CXXFLAGS} -m32"