Fix Nim release mode

Append "-d:release" to NIM_OPTS, not NIM_ARGS in the 'release' spec.
Compiling for a release removes some runtime assertions.

Fix #2662
This commit is contained in:
Ehmry - 2018-01-31 11:36:33 +01:00 committed by Norman Feske
parent bb9d15b8b9
commit 79a433ae77
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
CC_OPT += -DGENODE_RELEASE
NIM_ARGS += -d:release
NIM_OPT += -d:release