Re: Right %cmake flags

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

 



On Tue, Apr 23, 2013 at 2:48 AM, Eugene Pivnev <ti.eugene@xxxxxxxxx> wrote:
This problem was starting here: https://bugzilla.redhat.com/show_bug.cgi?id=929256
And repeating again and again: https://bugzilla.redhat.com/show_bug.cgi?id=947049
Problem is: what flags I mast to add to "%cmake .." if application itself not set -O3, but %cmake macro doing this?
-O2 - bad idea.

-DCMAKE_BUILD_TYPE=Release - bad idea
-DNDEBUG - bad idea

I don't have time to dig into the project to inspect what's going on but I've frequently had luck using the following:

-DCMAKE_BUILD_TYPE=RelWithDebInfo

For whatever reason with cmake the release option tends to use -O3 but debug builds use -O2...

Richard
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[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