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/macro...
--
Maxwell G (@gotmax23)
Pronouns: He/Him/His