[libnatpmp/el6] No ldflags on EL6
Christopher Meng
cicku at fedoraproject.org
Sat Feb 15 03:43:30 UTC 2014
commit 3c4bf787d21d6792fa34738ba0e225a3fa975979
Author: Christopher Meng <i at cicku.me>
Date: Sat Feb 15 11:43:43 2014 +0800
No ldflags on EL6
libnatpmp.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnatpmp.spec b/libnatpmp.spec
index 5191c19..850b6da 100644
--- a/libnatpmp.spec
+++ b/libnatpmp.spec
@@ -26,7 +26,7 @@ developing applications that use %{name}.
%patch0 -p1
%build
-make CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" %{?_smp_mflags}
+make CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %{?_smp_mflags}
%install
make install INSTALL="install -p" PREFIX=%{buildroot} INSTALLDIRLIB="%{buildroot}%{_libdir}"
More information about the scm-commits
mailing list