[pure] Compile with -fPIC

Peter Robinson pbrobinson at fedoraproject.org
Mon Jun 25 23:33:08 UTC 2012


commit 54e5e4450006a77b5d2aea78a037e77d81df61e1
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Jun 26 00:30:27 2012 +0100

    Compile with -fPIC

 pure.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/pure.spec b/pure.spec
index 462cc3b..d7ebb5c 100644
--- a/pure.spec
+++ b/pure.spec
@@ -1,6 +1,6 @@
 Name:           pure
 Version:        0.55
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A term-rewriting functional programming language
 
 Group:          Development/Languages
@@ -91,6 +91,8 @@ cp -p %{SOURCE1} .
 export CC=clang
 export CXX=clang++
 %endif
+CFLAGS="$CFLAGS %{optflags} -fPIC"
+CXXFLAGS="$CXXFLAGS %{optflags} -fPIC"
 %ifarch ppc
 # http://code.google.com/p/pure-lang/issues/detail?id=13#c47
 %configure --disable-fastcc
@@ -172,6 +174,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jun 25 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 0.55-2
+- Compile with -fPIC
+
 * Tue Jun  5 2012 Michel Salim <salimma at fedoraproject.org> - 0.55-1
 - Update to 0.55
 


More information about the scm-commits mailing list