X-Git-Url: http://gitweb/?a=blobdiff_plain;f=python%2FPkgfile;h=6f452d7c176c0ec21fcc6e5bdefccb99e13b8c58;hb=a35dd6c00dfc4a48f2c99a37d840e770b3f84599;hp=90d22d088f00b5d829ad4047ec83107e1ec69615;hpb=557ac6f734b97de7e34ede67d861d1363d144fc1;p=ports%2Fopt-arm.git diff --git a/python/Pkgfile b/python/Pkgfile index 90d22d0..6f452d7 100644 --- a/python/Pkgfile +++ b/python/Pkgfile @@ -5,7 +5,7 @@ # Depends on: db gdbm openssl bzip2 zlib sqlite3 name=python -version=2.7.12 +version=2.7.16 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" \