summaryrefslogtreecommitdiff
path: root/profiles/prefix/linux/x86/make.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/prefix/linux/x86/make.defaults')
-rw-r--r--profiles/prefix/linux/x86/make.defaults9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/prefix/linux/x86/make.defaults b/profiles/prefix/linux/x86/make.defaults
new file mode 100644
index 000000000000..8a679deb0752
--- /dev/null
+++ b/profiles/prefix/linux/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# 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"