Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=929256

--- Comment #8 from Kevin Kofler <ke...@tigcc.ticalc.org> ---
%cmake sets the build type to Release by default, and unfortunately this
defaults to -O3 -DNDEBUG in CMake. Most packages override this to vastly
different defaults, but nomacs uses the CMake defaults. IMHO, we should really
change the default in our CMake packaging from -O3 to -O2.

Anyway, to fix this, add to your %cmake line:
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -DNDEBUG"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=Yl7n5DrYO9&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to