summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbie Hopkins <herbs@gentoo.org>2005-04-19 16:48:07 +0000
committerHerbie Hopkins <herbs@gentoo.org>2005-04-19 16:48:07 +0000
commitaa9b0177894d812d3094ca1d8ccf5ad1ed6ac34c (patch)
treef8c958f1a39064d24835cd09edecd7400767fb52 /profiles/default-linux
parentrepoman: Trim trailing whitespace (diff)
downloadhistorical-aa9b0177894d812d3094ca1d8ccf5ad1ed6ac34c.tar.gz
historical-aa9b0177894d812d3094ca1d8ccf5ad1ed6ac34c.tar.bz2
historical-aa9b0177894d812d3094ca1d8ccf5ad1ed6ac34c.zip
Added workaround to help compiling 32bit packages.
Diffstat (limited to 'profiles/default-linux')
-rw-r--r--profiles/default-linux/amd64/2005.0/make.defaults8
1 files changed, 5 insertions, 3 deletions
diff --git a/profiles/default-linux/amd64/2005.0/make.defaults b/profiles/default-linux/amd64/2005.0/make.defaults
index 24397fb1bd1f..312b34cded02 100644
--- a/profiles/default-linux/amd64/2005.0/make.defaults
+++ b/profiles/default-linux/amd64/2005.0/make.defaults
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/amd64/2005.0/make.defaults,v 1.11 2005/03/05 16:41:02 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/amd64/2005.0/make.defaults,v 1.12 2005/04/19 16:48:07 herbs Exp $
#removed because managers vote requires us to do so
#("when we go nptl, we all go nptl")
@@ -20,8 +20,10 @@ CHOST_amd64="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
LIBDIR_amd64="lib64"
-CFLAGS_x86="-m32"
-LDFLAGS_x86="-m elf_i386"
+# Added -L/emul* workaround to aid compilation of 32bit packages
+# See bug #88725 for more info - Herbie Hopkins <herbs@gentoo.org> 2005/04/19
+CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
+LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
CHOST_x86="i686-pc-linux-gnu"
CDEFINE_x86="__i386__"
LIBDIR_x86="lib32"