On Sun Dec 25, 2022 at 09:02 -0500, Sam Varshavchik wrote:
> rpm -E '%__global_ldflags'
>
> is also needed for LDFLAGS.

%__global_ldflags is deprecated. You should use %build_ldflags
instead[1]. Also, %build_cflags, %build_cxxflags, and friends are
preferred to %optflags AFAIK.

[1]: 
https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/macros#_130
--
Maxwell G (@gotmax23)
Pronouns: He/Him/His
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to