churchyard pushed to pypy3 (f21). "Compile with PIC, fixes FTBFS on ARM"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun May 10 19:34:43 UTC 2015


From 92ec0ebc5bf5746a03e45726d8e300ef51ff7940 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson at gmail.com>
Date: Mon, 18 Jun 2012 09:50:36 +0100
Subject: Compile with PIC, fixes FTBFS on ARM


diff --git a/pypy.spec b/pypy.spec
index 80b4039..e579720 100644
--- a/pypy.spec
+++ b/pypy.spec
@@ -1,6 +1,6 @@
 Name:           pypy
 Version:        1.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python implementation with a Just-In-Time compiler
 
 Group:          Development/Languages
@@ -471,7 +471,7 @@ BuildPyPy() {
   # The generated C code leads to many thousands of warnings of the form:
   #   warning: variable 'l_v26003' set but not used [-Wunused-but-set-variable]
   # Suppress them:
-  export CFLAGS=$(echo "$CFLAGS" -Wno-unused)
+  export CFLAGS=$(echo "$CFLAGS" -Wno-unused -fPIC)
 
   # If we're already built the JIT-enabled "pypy", then use it for subsequent
   # builds (of other configurations):
@@ -890,6 +890,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jun 18 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 1.9-2
+- Compile with PIC, fixes FTBFS on ARM
+
 * Fri Jun  8 2012 David Malcolm <dmalcolm at redhat.com> - 1.9-1
 - 1.9
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/pypy3.git/commit/?h=f21&id=92ec0ebc5bf5746a03e45726d8e300ef51ff7940


More information about the scm-commits mailing list