[arch-commits] Commit in pypy/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Mon Apr 15 11:24:27 UTC 2013


    Date: Monday, April 15, 2013 @ 13:24:26
  Author: svenstaro
Revision: 88269

upgpkg: pypy 2.0beta2-2

Use -O1 so pypy works with gcc 4.8

Modified:
  pypy/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-15 11:14:13 UTC (rev 88268)
+++ PKGBUILD	2013-04-15 11:24:26 UTC (rev 88269)
@@ -3,12 +3,13 @@
 
 pkgname=pypy
 pkgver=2.0beta2
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python implementation written in Python, JIT enabled"
 url="http://codespeak.net/pypy/"
 arch=('i686' 'x86_64')
 depends=('libffi')
 provides=('python2')
+options=(!buildflags)
 # You can remove pypy to not make the package depend on itself here
 # and use python2 in build() but it takes ages.
 makedepends=('python2' 'mercurial' 'pypy')
@@ -24,7 +25,10 @@
 build() {
   cd ${srcdir}/pypy/pypy/goal
 
-  pypy ../../rpython/bin/rpython -Ojit targetpypystandalone
+  export CFLAGS="-O1"
+  export CXXFLAGS="-O1"
+
+  python2 ../../rpython/bin/rpython -Ojit targetpypystandalone
 }
 
 package() {




More information about the arch-commits mailing list