https://bugzilla.redhat.com/show_bug.cgi?id=1753837 --- Comment #9 from Michal Schorm <mschorm@xxxxxxxxxx> --- You were correct with the %cmake setting the flags. /usr/lib/rpm/macros.d/macros.cmake: | %cmake \ | CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ | CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ | ... That's clever - using Bash way of assingning default value, if the variable is not set. I didn't knew neither that %cmake macro does this, nor that Bash offers this great functionality. I'm happy I learned something new :) -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx