On Tue, Apr 23, 2013 at 2:48 AM, Eugene Pivnev <ti.eug...@gmail.com> wrote:
> This problem was starting here: https://bugzilla.redhat.com/** > show_bug.cgi?id=929256<https://bugzilla.redhat.com/show_bug.cgi?id=929256> > And repeating again and again: https://bugzilla.redhat.com/** > show_bug.cgi?id=947049<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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel