Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: flag-o-matic.eclass
Date: Sat, 04 Apr 2009 17:57:56
Message-Id: E1LqA7u-0008VW-A8@stork.gentoo.org
1 grobian 09/04/04 17:57:54
2
3 Modified: flag-o-matic.eclass
4 Log:
5 backport fix for x86-macos in filter-flags from Prefix
6
7 Revision Changes Path
8 1.133 eclass/flag-o-matic.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.133&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.133&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.132&r2=1.133
13
14 Index: flag-o-matic.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
17 retrieving revision 1.132
18 retrieving revision 1.133
19 diff -u -r1.132 -r1.133
20 --- flag-o-matic.eclass 21 Jan 2009 00:42:20 -0000 1.132
21 +++ flag-o-matic.eclass 4 Apr 2009 17:57:54 -0000 1.133
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.132 2009/01/21 00:42:20 gengor Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.133 2009/04/04 17:57:54 grobian Exp $
27
28 # @ECLASS: flag-o-matic.eclass
29 # @MAINTAINER:
30 @@ -52,6 +52,12 @@
31 -m32 -m64 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC \
32 -mlive-g0 -mcmodel -mstack-bias -mno-stack-bias \
33 -msecure-plt -m*-toc -D* -U*"
34 +
35 + # killing these two on OSX/Intel will disable SSE, resulting in failing
36 + # compilations, as the headers expect SSE to be enabled (Apple knows what
37 + # hardware they run on afterall, don't they?)
38 + [[ ${CHOST} == i?86-apple-darwin* ]] \
39 + && ALLOWED_FLAGS="${ALLOWED_FLAGS} -march=prescott -march=nocona"
40
41 # {C,CXX,F,FC}FLAGS that we are think is ok, but needs testing
42 # NOTE: currently -Os have issues with gcc3 and K6* arch's