From f1f4570402ea44878c0ad302bb16efb685069e7f Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 17 Dec 2024 16:59:24 +0100 Subject: [PATCH] ci/android: unset compiler env vars in debian/android_build.sh Unset the compiler env vars in debian/android_build.sh used to cross-build libelf for Android, to prevents those env vars to inadvertently affect subsequent commands that might want to build for the native host after the cross-builds. Part-of: --- .gitlab-ci/container/debian/android_build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci/container/debian/android_build.sh b/.gitlab-ci/container/debian/android_build.sh index 47b28a7aa6d..a8b15b0a465 100644 --- a/.gitlab-ci/container/debian/android_build.sh +++ b/.gitlab-ci/container/debian/android_build.sh @@ -89,6 +89,12 @@ for arch in \ --libdir=/usr/local/lib/${arch} make install make distclean + + unset CC + unset CC + unset CXX + unset LD + unset RANLIB done cd ..