View previous topic :: View next topic |
Author |
Message |
jamtat Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Aug 2003 Posts: 162
|
Posted: Tue Apr 07, 2015 8:43 pm Post subject: Where, exactly, in make.conf does CPU_FLAGS_X86 belong? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
asturm Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 05 Apr 2007 Posts: 9334
|
Posted: Tue Apr 07, 2015 8:45 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54827 Location: 56N 3W
|
Posted: Tue Apr 07, 2015 9:13 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jamtat Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Aug 2003 Posts: 162
|
Posted: Tue Apr 07, 2015 9:29 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
asturm Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 05 Apr 2007 Posts: 9334
|
Posted: Tue Apr 07, 2015 9:43 pm Post subject: |
|
|
They won't have an effect any longer under USE, so they should be deleted, but wouldn't do any harm. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|