Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changing emerge settings during compilation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
4man
n00b
n00b


Joined: 30 Jul 2024
Posts: 2

PostPosted: Thu Dec 19, 2024 8:20 am    Post subject: Changing emerge settings during compilation Reply with quote

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


Joined: 03 Mar 2005
Posts: 1959
Location: 127.0.0.1

PostPosted: Thu Dec 19, 2024 9:09 am    Post subject: Reply with quote

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
View user's profile Send private message
rfx
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2023
Posts: 147
Location: de-by

PostPosted: Thu Dec 19, 2024 12:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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