View previous topic :: View next topic |
Author |
Message |
aeyeaws64 n00b
Joined: 20 Jul 2013 Posts: 8
|
Posted: Thu Feb 27, 2014 4:19 am Post subject: sqlite -0fast |
|
|
can someone please fix sqlite so it transmogrifies -Ofast to O2, so it doest stop emerge. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Fri Feb 28, 2014 2:57 am Post subject: |
|
|
Option -0fast is not a valid compiler option. According to info gcc, option -Ofast enables certain changes known to violate standards compliance, so it should only be used on programs where such noncompliance does not break anything. Do I understand from your post that you enabled this globally and now want someone to disable it for you on a specific ebuild where it causes problems? |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Fri Feb 28, 2014 8:29 am Post subject: |
|
|
You can use package.env to accomplish this. |
|
Back to top |
|
|
aeyeaws64 n00b
Joined: 20 Jul 2013 Posts: 8
|
Posted: Sat Mar 01, 2014 1:30 am Post subject: |
|
|
I thought -Ofast was the recommended optimization level, srry. I guess this is what happens when you get you OS info from 92 different garage band sources. |
|
Back to top |
|
|
zsitvaij n00b
Joined: 11 Jan 2006 Posts: 74
|
Posted: Sat Mar 01, 2014 1:51 pm Post subject: |
|
|
The total of recommended flags are "-O2 -pipe -march=native". I'm sure it's in either/both the official handbook and wiki. |
|
Back to top |
|
|
|