separate RPMOPTS for c and c++?

sean seandarcy2 at gmail.com
Sun Apr 24 19:25:44 UTC 2005


Jakub Jelinek wrote:
.........................
> And the reason for that magic choice is?
> E.g. x86-64 has -fomit-frame-pointer by default, -funit-at-a-time
> is also the default for -O2 and above.

Gone History.

>  Building all code PIC is a
> de-optimization (although on x86-64 not a major one,the PIC cost is
> not as high on x86-64 as on other arches),

Maybe, but I keep getting "relocation R_X86_64_PC32" errors. 
  Of course, sometimes I get them even with PIC.


> -O3 is for the vast majority
> of code worse than -O2 as well.  -mtune=athlon64 is on by default too.
> 

Gone.

>>Now -fvisibility-inlines-hidden is only for g++. It 
>>generates a  warning mesage for gcc. Is there a way of 
>>setting the CFLAGS  differently from CXXFLAGS?
> 
> 
> You'd need to hack up %configure macro etc.
> 

Ah well.

sean




More information about the fedora-devel-list mailing list