Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get resultant CFLAGS
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
proxy
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 260
Location: Chantilly, VA

PostPosted: Mon Jul 21, 2003 9:20 pm    Post subject: How to get resultant CFLAGS Reply with quote

I'm trying to develop a script (which is actually pretty close to being done) which will detect all packages not compiled with your current cflags (so that if you change em not all packages need to be rebuilt to use your newest settings)..

however, many packages alter these before compiling, is there a way to get programatically what the cflags would be after the filters in the ebuild?

that would be awsome.

proxy
Back to top
View user's profile Send private message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 402

PostPosted: Mon Jul 21, 2003 9:48 pm    Post subject: Reply with quote

You can try to look at any replace-flags command presend in the ebuild. This is probably not guaranteed to work 100%, because some ebuilds may alter the flags without using this command.

Do you really need to know what the resultant flags are?
Back to top
View user's profile Send private message
proxy
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 260
Location: Chantilly, VA

PostPosted: Tue Jul 22, 2003 3:09 am    Post subject: Reply with quote

it would allow my utility to avoid almost all false positives... as a suprisingly many packages will filter out some flags.

proxy
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