On Thu, Jan 11, 2018 at 11:45 AM, David Demelier <mark...@malikania.fr> wrote:
> Is there a place where you see that we must use this variable? > > Anyway, it worked, I changed the CMake invocation to: > > cmake ... \ > -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ > -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ > > It built fine, thanks! Actually you should use the %cmake macro: https://fedoraproject.org/wiki/Packaging:Cmake Try to expand it to see how it works: rpm --eval %cmake Bye, Andrea
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org