Re: Compiler flags and memory usage

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

 



Am 16.06.2014 00:12, schrieb Kevin Kofler:
> Antonio Trande wrote:
>> To pass these problems, I had to decrease '-O' optimization flag
>> gradually to '-O1' or '-O0', latest attempt is the removal of '-pipe'
>> from RPM_OPT_FLAGS.
>>
>> What's best choice in these cases?
> 
> Definitely not -O0, that generates really crappy (slow and large) code. I'd 
> also not recommend -O1. If you must change something, remove -pipe, that 
> only makes builds slower (given sufficient RAM for the piping), but does not 
> affect the quality of the generated code

i would add here
%_smp_mflags -j1

if it comes to reduce memory due compile

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[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