Re: Overriding default %cmake CXXFLAGS

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

 



W dniu 16.08.2021 o 21:24, Neal Gompa pisze:
On Mon, Aug 16, 2021 at 3:14 PM Julian Sikorski <belegdol@xxxxxxxxx> wrote:

Hi,

mame needs to have the symbols level reduced to -g1 or the compilation
will fail due to relocation overflows and generally excessive memory and
disk space usage. Right now this is taken care of by editing $RPM_OPT_FLAGS:
https://src.fedoraproject.org/rpms/mame/blob/30873dfe8d2ab851bb018b7a104916aaa3d39718/f/mame.spec#_236
Upstream are considering switching to cmake, which is going to render
this approach inoperable. Is there a preferred way of editing the flags
used by %cmake macro? Thanks!


Overriding the %build_cflags and %build_cxxflags macros is sufficient here.



Thanks! And what is the recommended way of doing this? Just defining it in the spec? The advantage of the approach used until now is that it only drops -g(2) to -g1, leaving other flags intact.

Best regards,
Julian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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