Re: Empty debugsourcefiles.list when building out of source

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

 



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:
https://fedoraproject.org/wiki/Packaging:Cmake

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux