diff --git a/srcpkgs/python/template b/srcpkgs/python/template index 5083633d960..c1d9ce91127 100644 --- a/srcpkgs/python/template +++ b/srcpkgs/python/template @@ -1,7 +1,7 @@ # Template build file for 'python'. pkgname=python version=2.7.6 -revision=2 +revision=3 wrksrc="Python-${version}" short_desc="Interpreted, interactive, object-oriented programming language" maintainer="Juan RP " @@ -28,9 +28,9 @@ pre_configure() { } do_configure() { + unset CC LD AR AS RANLIB if [ "$CROSS_BUILD" ]; then - env CC=gcc LD=gcc AR=ar AS=as RANLIB=ranlib \ - CFLAGS=-Os LDFLAGS= ./configure + CFLAGS=-Os LDFLAGS= ./configure make python mkdir hostpython mv python hostpython