update-common: take USE_SYSTEM_NIM into account
This commit is contained in:
parent
7b0a7f88c2
commit
d8cde2ad85
|
@ -56,7 +56,9 @@ update-common: | sanity-checks
|
||||||
git submodule sync --quiet --recursive
|
git submodule sync --quiet --recursive
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
rm -rf $(NIMBLE_DIR)
|
rm -rf $(NIMBLE_DIR)
|
||||||
|
ifeq ($(USE_SYSTEM_NIM), 0)
|
||||||
+ $(MAKE) build-nim
|
+ $(MAKE) build-nim
|
||||||
|
endif
|
||||||
|
|
||||||
#- rebuilds the Nim compiler if the corresponding submodule is updated
|
#- rebuilds the Nim compiler if the corresponding submodule is updated
|
||||||
$(NIM_BINARY): | sanity-checks
|
$(NIM_BINARY): | sanity-checks
|
||||||
|
|
Loading…
Reference in New Issue