teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.18.x-ldflags.patch

Michal Domonkos 7bfe20
diff -up rpm-4.18.1/macros.in.orig rpm-4.18.1/macros.in
Michal Domonkos 7bfe20
--- rpm-4.18.1/macros.in.orig	2023-03-15 13:57:06.385361527 +0100
Michal Domonkos 7bfe20
+++ rpm-4.18.1/macros.in	2023-03-15 13:58:09.613971713 +0100
Florian Festi 3913b4
@@ -750,11 +750,12 @@ package or when debugging this package.\
Michal Domonkos 7bfe20
   RPM_SOURCE_DIR=\"%{_sourcedir}\"\
Michal Domonkos 7bfe20
   RPM_BUILD_DIR=\"%{_builddir}\"\
Adam Jackson 4dd6dd
   RPM_OPT_FLAGS=\"%{optflags}\"\
Panu Matilainen 81329c
+  RPM_LD_FLAGS=\"%{?build_ldflags}\"\
Adam Jackson 4dd6dd
   RPM_ARCH=\"%{_arch}\"\
Adam Jackson 4dd6dd
   RPM_OS=\"%{_os}\"\
Panu Matilainen 0a7d17
   RPM_BUILD_NCPUS=\"%{_smp_build_ncpus}\"\
Florian Festi 3913b4
   RPM_SPECPARTS_DIR=\"%{specpartsdir}\"\
Florian Festi 3913b4
-  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR\
Florian Festi 3913b4
+  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS\
Adam Jackson 4dd6dd
   RPM_DOC_DIR=\"%{_docdir}\"\
Adam Jackson 4dd6dd
   export RPM_DOC_DIR\
Panu Matilainen 5b4d98
   RPM_PACKAGE_NAME=\"%{NAME}\"\