View previous topic :: View next topic |
Author |
Message |
4man n00b
Joined: 30 Jul 2024 Posts: 4
|
Posted: Thu Dec 19, 2024 8:20 am Post subject: Changing emerge settings during compilation |
|
|
Good day, Gentoo users.
I wanted to ask a small question, just to satisfy my curiosity. If you change your settings while emerge is compiling something, does this change take place immediately? Say, you go into make.conf and add -Wall to CFLAGS, for whatever reason. Will you immediately begin to see every warning? Or will it only be effective for all emerge processes initiated after the configuration change? And anyways, is it really a good idea to do so? _________________ Do not go gentle into that good night. |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1960 Location: 127.0.0.1
|
Posted: Thu Dec 19, 2024 9:09 am Post subject: |
|
|
Hi,
From here :
Quote: |
make.conf (and package.* files) generally is only parsed during the initialization of portage. However there are a few cases where emerge reinitializes itself (like when portage itself is updated) which would cause make.conf to be reparsed.
|
So, I think that changes to make.conf in the middle of a running emerge process will not be applied until next emerge call or sys-apps/portage update. |
|
Back to top |
|
|
rfx Tux's lil' helper
Joined: 19 Apr 2023 Posts: 147 Location: de-by
|
Posted: Thu Dec 19, 2024 12:36 pm Post subject: |
|
|
The current emerge-job is running with the "older" configuration of make.conf. Changes you make in the make.conf are applied for the next emerge job which is starting after you closed and saved the make.conf |
|
Back to top |
|
|
|