env/setup/sourcepkg: unset python3 build-helper variables

This commit is contained in:
Đoàn Trần Công Danh 2022-11-05 20:03:57 +07:00
parent 52a20a9659
commit 581cdacc5b
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ unset -v nopie build_options build_options_default bootstrap repository reverts
unset -v CFLAGS CXXFLAGS FFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF PKG_CONFIG
unset -v CMAKE_GENERATOR
# build-helper python3
unset -v PYPREFIX LDSHARED PYTHON_CONFIG PYTHONPATH _PYTHON_SYSCONFIGDATA_NAME
# unset all $build_option_ variables
unset -v "${!build_option_@}"