From dfb583fee3c0c26336e22147740cceec7ffdb2a8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 5 Jul 2024 10:47:12 +0000 Subject: [PATCH] make.sh: Don't export loads of variables in the main script We clear and reset the environment when we launch any build commands and therefore don't need to do this here. Signed-off-by: Michael Tremer --- make.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/make.sh b/make.sh index 9e4b870b53..19d94445d5 100755 --- a/make.sh +++ b/make.sh @@ -44,6 +44,7 @@ ZSTD_OPT="-T0 --ultra -22" # ############################################################################### +LC_ALL=POSIX PS1='\u:\w$ ' # Remember if the shell is interactive or not @@ -432,11 +433,6 @@ prepareenv() { # Set umask umask 022 - # Setup environment - LC_ALL=POSIX - export LC_ALL CFLAGS CXXFLAGS DEFAULT_PARALLELISM RUSTFLAGS NINJAJOBS - unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD - # Make some extra directories mkdir -p "${CCACHE_DIR}" mkdir -p "${BUILD_DIR}/${TOOLS_DIR}" -- 2.47.3