CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
python: updated to 2.7.17
[ports/opt-arm.git] / python / Pkgfile
index 2d83988fca828cdf74716e196c3e319f9304a538..7ec53b068b16f68997fd03bbd34dea4b9a3c1d82 100644 (file)
@@ -5,7 +5,7 @@
 # Depends on: db gdbm openssl bzip2 zlib sqlite3
 
 name=python
-version=2.7.11
+version=2.7.17
 release=1
 source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.xz \
         pyconfig.h)
@@ -13,6 +13,9 @@ source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.xz \
 build () {
   cd Python-$version
 
+  export CFLAGS="-O2 -pipe -mfloat-abi=hard"
+  export CXXFLAGS="$CFLAGS"
+
   # set OPT to the python default without -O3
   # our CFLAGS are used as well
   OPT="-Wall -Wstrict-prototypes -fwrapv" \