Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
edits to make.conf disappear after scripts/bootstrap.sh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Watchmaker
n00b
n00b


Joined: 22 Apr 2002
Posts: 10

PostPosted: Mon Apr 22, 2002 2:23 pm    Post subject: edits to make.conf disappear after scripts/bootstrap.sh Reply with quote

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
View user's profile Send private message
Watchmaker
n00b
n00b


Joined: 22 Apr 2002
Posts: 10

PostPosted: Mon Apr 22, 2002 2:32 pm    Post subject: Box is right, post is wrong. Reply with quote

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
View user's profile Send private message
Jeevz
Bodhisattva
Bodhisattva


Joined: 15 Apr 2002
Posts: 195
Location: Boston, MA

PostPosted: Mon Apr 22, 2002 2:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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