X-Git-Url: http://gitweb/?a=blobdiff_plain;f=python%2FPkgfile;h=4575ac7a70b83d4c954dd5044db173432cc21043;hb=b14e02538016e3320efbb8f8e1f9c87a8c1c5935;hp=301623709bf1adfec7c880ce3ce8bee733275fb8;hpb=edaede0eb19c5342e19f7391bc82373716bd44e7;p=ports%2Fopt-arm.git diff --git a/python/Pkgfile b/python/Pkgfile index 3016237..4575ac7 100644 --- a/python/Pkgfile +++ b/python/Pkgfile @@ -5,7 +5,7 @@ # Depends on: db gdbm openssl bzip2 zlib sqlite3 name=python -version=2.7.13 +version=2.7.14 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" \