ensure that no ARCHFLAGS/CFLAGS/LDFLAGS from the user will be used. Ref: #109

This commit is contained in:
Mathieu Virbel 2015-01-10 18:41:48 +01:00
parent 3b45583353
commit 55345e1cae

View file

@ -105,6 +105,11 @@ export ARM_CFLAGS="$ARM_CFLAGS -O3"
# ensure byte-compiling is working
export PYTHONDONTWRITEBYTECODE=
# ensure that no current flags in the user env will be used
unset ARCHFLAGS
unset CFLAGS
unset LDFLAGS
# create build directory if not found
try mkdir -p $BUILDROOT
try mkdir -p $BUILDROOT/include