View previous topic :: View next topic |
Author |
Message |
Watchmaker n00b
Joined: 22 Apr 2002 Posts: 10
|
Posted: Mon Apr 22, 2002 2:23 pm Post subject: edits to make.conf disappear after scripts/bootstrap.sh |
|
|
I'm installing Gentoo on my laptop. I got to the point when it says to edit /etc/make.conf to add your CFLAGS. I added the suggested flags from the faq...
-O3 -mcpu=1686 -march=i686 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4
One of the first things this does is emerge baselayout which overwrites /etc/make.conf. I noticed that the gcc lines as it compiled gettext, the first package, didn't have my optimizations, went to check and sure enough, the default make.conf was there.
I fixed this by editing make.conf, copying it to /tmp, running scripts/bootstrap.sh, when the system paused during "Making all devices" I quickly copied /tmp/make.conf to /etc/make.conf.
This seemed to work.
Did I do something wrong here or is this a bug in Gentoo?? |
|
Back to top |
|
|
Watchmaker n00b
Joined: 22 Apr 2002 Posts: 10
|
Posted: Mon Apr 22, 2002 2:32 pm Post subject: Box is right, post is wrong. |
|
|
Oh, and by the way. My CFLAGS have -mcpu=i686, for that post I just cut and past from the FAQ which incorrectly has -mcpu=1686. |
|
Back to top |
|
|
Jeevz Bodhisattva
Joined: 15 Apr 2002 Posts: 195 Location: Boston, MA
|
Posted: Mon Apr 22, 2002 2:43 pm Post subject: |
|
|
As far as I know, it purposely overwrites make.conf it for gcc, glibc, binutils, and gettext. It is NOT recommended to apply optimizations to these packages. After these packages are compiled your optimizations will be used for everything else. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|