1 |
On 04-04-2009 18:49:50 -0600, Ryan Hill wrote: |
2 |
> > + # killing these two on OSX/Intel will disable SSE, resulting in failing |
3 |
> > + # compilations, as the headers expect SSE to be enabled (Apple knows what |
4 |
> > + # hardware they run on afterall, don't they?) |
5 |
> > + [[ ${CHOST} == i?86-apple-darwin* ]] \ |
6 |
> > + && ALLOWED_FLAGS="${ALLOWED_FLAGS} -march=prescott -march=nocona" |
7 |
> > |
8 |
> |
9 |
> Why do these have to be specifically included? Aren't they handed by |
10 |
> |
11 |
> 34 export ALLOWED_FLAGS="${ALLOWED_FLAGS} -O -O0 -O1 -O2 -mcpu -march -mtune" |
12 |
|
13 |
Looking at the current code, it can't even work properly. Even in the |
14 |
case when ALLOWED_FLAGS is already set. |
15 |
|
16 |
if [[ -z ${ALLOWED_FLAGS} ]] ; then |
17 |
export ALLOWED_FLAGS="-pipe" |
18 |
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -O -O0 -O1 -O2 -mcpu -march" |
19 |
|
20 |
Weird enough, it /did/ enable compilations to succeed in the past, but |
21 |
it just can't in the current eclass, so it's bogus, and I will remove it |
22 |
again. |
23 |
|
24 |
Thanks for the check, much appreciated! |
25 |
|
26 |
|
27 |
-- |
28 |
Fabian Groffen |
29 |
Gentoo on a different level |