Skip to content

Commit

Permalink
update-common: take USE_SYSTEM_NIM into account
Browse files Browse the repository at this point in the history
  • Loading branch information
stefantalpalaru committed Apr 15, 2020
1 parent 7b0a7f8 commit d8cde2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions makefiles/targets.mk
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ update-common: | sanity-checks
git submodule sync --quiet --recursive
git submodule update --init --recursive
rm -rf $(NIMBLE_DIR)
ifeq ($(USE_SYSTEM_NIM), 0)
+ $(MAKE) build-nim
endif

#- rebuilds the Nim compiler if the corresponding submodule is updated
$(NIM_BINARY): | sanity-checks
Expand Down

0 comments on commit d8cde2a

Please sign in to comment.