1 |
Dale wrote: |
2 |
> James wrote: |
3 |
>> Hello, |
4 |
>> |
5 |
>> |
6 |
>> Current CFLAGS="-O2 -march=i686 -pipe" |
7 |
>> |
8 |
>> |
9 |
>> I want to add "-fomit-frame-pointer" to my |
10 |
>> CFLAGS on an existing system that has been running |
11 |
>> for months. |
12 |
>> |
13 |
>> |
14 |
>> Is this safe or do I have to rebuild everything with |
15 |
>> somelike "emerge -e" ? |
16 |
>> |
17 |
>> |
18 |
>> Should it be avoided completely? |
19 |
>> |
20 |
>> James |
21 |
>> |
22 |
>> |
23 |
> |
24 |
> Not sure if the flag is safe but I don't think portage will pick up on |
25 |
> changes to CFLAGS. You will have to do a emerge -e for all the |
26 |
> packages to be compiled with the new setting. |
27 |
> |
28 |
> You could also just change it and let the packages update over time as |
29 |
> they get upgraded. I don't think that will cause any problems. |
30 |
> |
31 |
> You can also look here: |
32 |
> http://www.gentoo.org/doc/en/gcc-optimization.xml Also note, there is |
33 |
> a page somewhere that gives the best CFLAGs but I can't find it. |
34 |
> Still looking tho. |
35 |
> |
36 |
> Dale |
37 |
> |
38 |
> :-) :-) :-) |
39 |
|
40 |
I found it. This is not the "official" Gentoo site so use your own |
41 |
judgment or ask here before changing the settings. |
42 |
|
43 |
http://gentoo-wiki.com/Safe_Cflags |
44 |
|
45 |
Hope that helps. |
46 |
|
47 |
Dale |
48 |
|
49 |
:-) :-) :-) |
50 |
-- |
51 |
gentoo-user@l.g.o mailing list |