Right %cmake flags

Rex Dieter rdieter at math.unl.edu
Tue Apr 23 13:24:37 UTC 2013


Eugene Pivnev 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
> 
> What to do?

cmake has been fixed,

http://bugzilla.redhat.com/875954

either wait for the fix to propogate to stable releases (once 2.8.11 final 
is released), or use one of the other workarounds in this thread in the 
meantime.

-- rex



More information about the devel mailing list