[build] pass NIM_PARAMS to nim compiler in exec target of Makefile

with this change `make exec` runs a release build instead of a debug build
This commit is contained in:
Michael Bradley, Jr 2022-08-27 14:44:54 -05:00 committed by Michael Bradley
parent b843118076
commit ba42533ad6
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ testAll: | build deps
# Builds the codex binary
exec: | build deps
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim codex codex.nims
$(ENV_SCRIPT) nim codex $(NIM_PARAMS) codex.nims
# symlink
codex.nims: