alexk / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
0b2921
diff -up rpm-4.9.1.1/macros.in.jx rpm-4.9.1.1/macros.in
0b2921
--- rpm-4.9.1.1/macros.in.jx	2011-08-03 16:19:05.000000000 -0400
0b2921
+++ rpm-4.9.1.1/macros.in	2011-08-08 09:41:52.981064316 -0400
0b2921
@@ -674,9 +674,10 @@ print (t)\
0b2921
   RPM_SOURCE_DIR=\"%{u2p:%{_sourcedir}}\"\
0b2921
   RPM_BUILD_DIR=\"%{u2p:%{_builddir}}\"\
0b2921
   RPM_OPT_FLAGS=\"%{optflags}\"\
0b2921
+  RPM_LD_FLAGS=\"%{?__global_ldflags}\"\
0b2921
   RPM_ARCH=\"%{_arch}\"\
0b2921
   RPM_OS=\"%{_os}\"\
0b2921
-  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS\
0b2921
+  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_LD_FLAGS RPM_ARCH RPM_OS\
0b2921
   RPM_DOC_DIR=\"%{_docdir}\"\
0b2921
   export RPM_DOC_DIR\
0b2921
   RPM_PACKAGE_NAME=\"%{NAME}\"\