summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2005-07-11 21:09:50 +0000
committerAron Griffis <agriffis@gentoo.org>2005-07-11 21:09:50 +0000
commit7d092ec9dc4e0b81238d697994b7cc66c6048342 (patch)
tree2793561ed3790381076c5ead478083d294fa98c0 /eclass
parentWhen I say I don't want Xprint, don't give me Xprint anyway. Turn off BuildXp... (diff)
downloadhistorical-7d092ec9dc4e0b81238d697994b7cc66c6048342.tar.gz
historical-7d092ec9dc4e0b81238d697994b7cc66c6048342.tar.bz2
historical-7d092ec9dc4e0b81238d697994b7cc66c6048342.zip
Force -mieee for alpha moz builds
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mozconfig.eclass11
1 files changed, 9 insertions, 2 deletions
diff --git a/eclass/mozconfig.eclass b/eclass/mozconfig.eclass
index 4800e7de2b5e..b6c485cacfe0 100644
--- a/eclass/mozconfig.eclass
+++ b/eclass/mozconfig.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig.eclass,v 1.14 2005/07/11 15:08:06 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig.eclass,v 1.15 2005/07/11 21:09:50 agriffis Exp $
#
# mozconfig.eclass: the new mozilla.eclass
@@ -105,7 +105,14 @@ mozconfig_init() {
# Additional ARCH support
case "${ARCH}" in
- alpha|amd64|ia64)
+ alpha)
+ # Historically we have needed to add -fPIC manually for 64-bit.
+ # Additionally, alpha should *always* build with -mieee for correct math
+ # operation
+ append-flags -fPIC -mieee
+ ;;
+
+ amd64|ia64)
# Historically we have needed to add this manually for 64-bit
append-flags -fPIC
;;