View previous topic :: View next topic |
Author |
Message |
proxy Apprentice
Joined: 20 Apr 2002 Posts: 260 Location: Chantilly, VA
|
Posted: Mon Jul 21, 2003 9:20 pm Post subject: How to get resultant CFLAGS |
|
|
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 |
|
|
pygoscelis Guru
Joined: 07 Jun 2003 Posts: 402
|
Posted: Mon Jul 21, 2003 9:48 pm Post subject: |
|
|
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 |
|
|
proxy Apprentice
Joined: 20 Apr 2002 Posts: 260 Location: Chantilly, VA
|
Posted: Tue Jul 22, 2003 3:09 am Post subject: |
|
|
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 |
|
|
|