From 92ec0ebc5bf5746a03e45726d8e300ef51ff7940 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Jun 2012 09:50:36 +0100 Subject: [PATCH] Compile with PIC, fixes FTBFS on ARM --- pypy.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 - 1.9-2 +- Compile with PIC, fixes FTBFS on ARM + * Fri Jun 8 2012 David Malcolm - 1.9-1 - 1.9