[gogoc] Fix PIE compilation. Closes bug #955282
Juan Orti
jorti at fedoraproject.org
Thu Apr 25 10:52:40 UTC 2013
commit 25993c55f56f5031f0e957231d7a04fd97019ced
Author: Juan Orti Alcaine <jorti at fedoraproject.org>
Date: Thu Apr 25 12:51:50 2013 +0200
Fix PIE compilation. Closes bug #955282
gogoc.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/gogoc.spec b/gogoc.spec
index dbcc51e..42afd17 100644
--- a/gogoc.spec
+++ b/gogoc.spec
@@ -3,7 +3,7 @@
Name: gogoc
Version: 1.2
-Release: 23%{?dist}
+Release: 24%{?dist}
Summary: IPv6 TSP client for gogo6
Group: System Environment/Daemons
@@ -52,8 +52,9 @@ you need an account in Freenet6 http://gogonet.gogo6.com/page/freenet6-account
%patch7 -p1
%build
-CFLAGS=$RPM_OPT_FLAGS; export CFLAGS
-CXXFLAGS=$RPM_OPT_FLAGS; export CXXFLAGS
+CFLAGS="%{optflags}"; export CFLAGS
+CXXFLAGS="%{optflags}"; export CXXFLAGS
+LDFLAGS="%{__global_ldflags}"; export LDFLAGS
make -j1 all
%install
@@ -115,6 +116,9 @@ fi
%{_unitdir}/%{name}.service
%changelog
+* Thu Apr 25 2013 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-24
+- Fix PIE compilation. Closes bug #955282
+
* Fri Feb 08 2013 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-23
- Remove symlinked directories from ReadOnlyDirectories in unit file
More information about the scm-commits
mailing list