Right %cmake flags

Dan HorĂ¡k dan at danny.cz
Tue Apr 23 12:28:57 UTC 2013


On Tue, 23 Apr 2013 11:48:20 +0400
Eugene Pivnev <ti.eugene at gmail.com> 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

CMAKE should be set to RelWithDebInfo AFAIK

> -DNDEBUG - bad idea


		Dan


More information about the devel mailing list