Re: separate RPMOPTS for c and c++?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux