Do not supply already exported variables to bootstrap scripts

This commit is contained in:
Kamil Shakirov 2020-06-17 18:22:09 +06:00
parent fdb106a787
commit 52cdc7a26f
2 changed files with 1 additions and 6 deletions

View File

@ -144,9 +144,6 @@ ifeq ($(OS), darwin)
else
sed -i 's|__PREFIX__|${IDRIS2_CURDIR}/bootstrap|g' bootstrap/idris2_app/idris2-boot.ss
endif
SCHEME=${SCHEME} \
IDRIS2_VERSION=${IDRIS2_VERSION} \
MAKE=${MAKE} \
sh ./bootstrap.sh
# Bootstrapping using racket
@ -160,8 +157,6 @@ ifeq ($(OS), darwin)
else
sed -i 's|__PREFIX__|${IDRIS2_CURDIR}/bootstrap|g' bootstrap/idris2_app/idris2-boot.rkt
endif
IDRIS2_VERSION=${IDRIS2_VERSION} \
MAKE=${MAKE} \
sh ./bootstrap-rkt.sh
bootstrap-test:

View File

@ -36,7 +36,6 @@ else
SHLIB_SUFFIX := .so
CFLAGS += -fPIC
endif
export OS
ifeq ($(OS),bsd)
@ -44,3 +43,4 @@ ifeq ($(OS),bsd)
else
MAKE := make
endif
export MAKE