mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
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 <michael.tremer@ipfire.org>
This commit is contained in:
6
make.sh
6
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}"
|
||||
|
||||
Reference in New Issue
Block a user