View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3772
|
Posted: Sun Sep 22, 2024 10:45 pm Post subject: sys-devel/gcc forcing -O2? [fixed] |
|
|
I have a feeling sys-devel/gcc forces -O2 as I recently failed trying to change it?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Mon Sep 23, 2024 6:24 am; edited 2 times in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22429
|
Posted: Sun Sep 22, 2024 11:34 pm Post subject: |
|
|
Per eclass/toolchain.eclass, if you do not USE=custom-cflags, then yes, this is forced, because too many people had problems with overly aggressive CFLAGS. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2810
|
Posted: Sun Sep 22, 2024 11:48 pm Post subject: |
|
|
Actually, it has a special rule for -O3 where it'll use the custom target "bootstrap-O3" and then filter it (this lets upstream handle using -O3 similarly to lto with bootstrap-lto). It should use -O3 for most of the build (regardless of custom-cflags), and seems to use it fine for me at a glance. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3772
|
Posted: Mon Sep 23, 2024 6:23 am Post subject: |
|
|
Well,
didn't show custom-flags for some reason.
Thus confused pov.
Target is to lower the value here.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
|