[Bug 929256] Review Request: nomacs - Qt-based image viewer

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

 



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

--- Comment #8 from Kevin Kofler <kevin@xxxxxxxxxxxxxxxx> ---
%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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]