From: Michael Tremer Date: Fri, 5 Jul 2024 10:47:12 +0000 (+0000) Subject: make.sh: Don't export loads of variables in the main script X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87f756bab723304c6471953cda6301761b531f68;p=people%2Fms%2Fipfire-2.x.git 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 --- diff --git a/make.sh b/make.sh index 9e4b870b5..19d94445d 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}"