Dale wrote:
James wrote:
Hello,


Current  CFLAGS="-O2 -march=i686 -pipe"


I want to add "-fomit-frame-pointer" to my
CFLAGS on an existing system that has been running
for months.


Is this safe or do I have to rebuild everything with
somelike "emerge -e" ?


Should it be avoided completely?

James


Not sure if the flag is safe but I don't think portage will pick up on changes to CFLAGS. You will have to do a emerge -e for all the packages to be compiled with the new setting.

You could also just change it and let the packages update over time as they get upgraded. I don't think that will cause any problems.

You can also look here: http://www.gentoo.org/doc/en/gcc-optimization.xml Also note, there is a page somewhere that gives the best CFLAGs but I can't find it. Still looking tho.

Dale

:-) :-) :-)

I found it. This is not the "official" Gentoo site so use your own judgment or ask here before changing the settings.

http://gentoo-wiki.com/Safe_Cflags

Hope that helps.

Dale

:-)  :-)  :-)
--
gentoo-user@lists.gentoo.org mailing list

Reply via email to