diff --git a/nimble/Tuprules.tup b/nimble/Tuprules.tup index ca9248a..73e22f3 100644 --- a/nimble/Tuprules.tup +++ b/nimble/Tuprules.tup @@ -1,4 +1,7 @@ -!nim_to_depot = |> nim cpp --os:genode -d:posix -o:%o %f \ +# Drop the relase flag with the line "NIM_RELEASE_FLAG=" +NIM_RELEASE_FLAG = -d:release + +!nim_to_depot = |> nim cpp $(NIM_RELEASE_FLAG) --os:genode -d:posix -o:%o %f \ |> $(DEPOT_DIR)/bin/x86_64/%d/@(DEPOT_VERSION)/%B NIMBLE_BINARIES_INCLUDE = $(TUP_CWD)/binaries.tup