ensure that no ARCHFLAGS/CFLAGS/LDFLAGS from the user will be used. Ref: #109
This commit is contained in:
parent
3b45583353
commit
55345e1cae
1 changed files with 5 additions and 0 deletions
|
@ -105,6 +105,11 @@ export ARM_CFLAGS="$ARM_CFLAGS -O3"
|
||||||
# ensure byte-compiling is working
|
# ensure byte-compiling is working
|
||||||
export PYTHONDONTWRITEBYTECODE=
|
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
|
# create build directory if not found
|
||||||
try mkdir -p $BUILDROOT
|
try mkdir -p $BUILDROOT
|
||||||
try mkdir -p $BUILDROOT/include
|
try mkdir -p $BUILDROOT/include
|
||||||
|
|
Loading…
Add table
Reference in a new issue