nimbus-build-system: Bump Nim to version 1.6.16 (#1818)

This commit is contained in:
andri lim 2023-10-17 03:12:41 +07:00 committed by GitHub
parent 1ffac5b2ea
commit 750a075a6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 11 deletions

View File

@ -153,16 +153,6 @@ ifeq ($(USE_LIBBACKTRACE), 0)
NIM_PARAMS += -d:disable_libbacktrace
endif
# TODO: port this back to nimbus-build-system
# after we can switch to nim 1.6.16
# This rule override the one in targets.mk
libnatpmp.a: | sanity-checks
ifeq ($(OS), Windows_NT)
+ "$(MAKE)" -C vendor/nim-nat-traversal/vendor/libnatpmp-upstream OS=mingw CC=$(CC) CFLAGS="-Wall -Wno-cpp -Os -DWIN32 -DNATPMP_STATICLIB -DENABLE_STRNATPMPERR -DNATPMP_MAX_RETRIES=4 $(CFLAGS)" $@ $(HANDLE_OUTPUT)
else
+ "$(MAKE)" CFLAGS="-Wall -Wno-cpp -Os -DENABLE_STRNATPMPERR -DNATPMP_MAX_RETRIES=4 $(CFLAGS)" -C vendor/nim-nat-traversal/vendor/libnatpmp-upstream $@ $(HANDLE_OUTPUT)
endif
deps: | deps-common nat-libs nimbus.nims
ifneq ($(USE_LIBBACKTRACE), 0)
deps: | libbacktrace

@ -1 +1 @@
Subproject commit 2e695054798f27db147bb1b89962290d8cbb16c2
Subproject commit fc18925ce12ceb9c088db8f8eac1bd39b2225585