Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where, exactly, in make.conf does CPU_FLAGS_X86 belong?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jamtat
Apprentice
Apprentice


Joined: 09 Aug 2003
Posts: 162

PostPosted: Tue Apr 07, 2015 8:43 pm    Post subject: Where, exactly, in make.conf does CPU_FLAGS_X86 belong? Reply with quote

New to Gentoo. So I looked over news items after succeeding in getting a booting system. News item number 10 discusses a script for generating output that goes under the new flag CPU_FLAGS_X86=. Though the news item says nothing about where that CPU_FLAGS_X86= entry should go, it seems to me a safe inference that it belongs in /etc/portage/make.conf. Additionally, however, there is no directive about where in make.conf that line should go. So I need to ask for clarification here: is CPU_FLAGS_X86= supposed to be a separate item on a new line within that file, as shown at http://pisarenko.net/files/80211ac/make.conf ? Or does it go under USE= or in some other spot within that file? Clarifications wil be appreciated.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9320

PostPosted: Tue Apr 07, 2015 8:45 pm    Post subject: Reply with quote

jamtat wrote:
Though the news item says nothing about where that CPU_FLAGS_X86= entry should go, it seems to me a safe inference that it belongs in /etc/portage/make.conf

News Item wrote:
In order not to lose CPU-specific optimizations, users will be required to update their make.conf (and package.use) file.

;)

There are no certain spots for that - you can put it wherever you like inside make.conf, as long as you set the variable correctly.

In other words, your make.conf is correct.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54643
Location: 56N 3W

PostPosted: Tue Apr 07, 2015 9:13 pm    Post subject: Reply with quote

jamtat,

make.conf sets the environment for emerge.
Its another environment varable. The order of entries in make.conf is not relevant to the meaning it conveys.

It can go anywhere.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jamtat
Apprentice
Apprentice


Joined: 09 Aug 2003
Posts: 162

PostPosted: Tue Apr 07, 2015 9:29 pm    Post subject: Reply with quote

Thanks for the clarifications, genstorm and NeddySeagoon. I thiink my only other question related to this is whether, if under USE=, there are some of the same flags that have been output by the Python program as belonging under CPU_FLAGS_X86=, those entries under USE= need to be removed?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9320

PostPosted: Tue Apr 07, 2015 9:43 pm    Post subject: Reply with quote

They won't have an effect any longer under USE, so they should be deleted, but wouldn't do any harm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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