On Thu, Jan 11, 2018 at 11:45 AM, David Demelier <markand@xxxxxxxxxxxx> 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:
Try to expand it to see how it works:
rpm --eval %cmake
Bye,
Andrea
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx