From de3cf9ad2f9080b84f8c0b7044428d0e1b484eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Tue, 12 Mar 2019 23:49:52 +0100 Subject: [PATCH] Makefile: don't override the test suite's loglevel by default --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1206da36f..ccb1d3921 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,10 @@ ifeq ($(V), 0) HANDLE_OUTPUT := &>/dev/null endif # Chronicles log level -LOG_LEVEL := DEBUG -NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level=$(LOG_LEVEL) +LOG_LEVEL := +ifdef LOG_LEVEL + NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level=$(LOG_LEVEL) +endif #- forces a rebuild of csources, Nimble and a complete compiler rebuild, in case we're called after pulling a new Nim version #- uses our Git submodules for csources and Nimble (Git doesn't let us place them in another submodule)