diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/flake.nix | 2 | ||||
-rw-r--r-- | contrib/local.mk.example | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/contrib/flake.nix b/contrib/flake.nix index 0898c943d7..3884ee9a2b 100644 --- a/contrib/flake.nix +++ b/contrib/flake.nix @@ -33,7 +33,6 @@ NIX_CFLAGS_COMPILE = " -ggdb -Og"; cmakeBuildType = "Debug"; - cmakeFlags = oa.cmakeFlags ++ [ "-DMIN_LOG_LEVEL=0" ]; disallowedReferences = [ ]; }); @@ -45,7 +44,6 @@ }).overrideAttrs (oa: { cmakeFlags = oa.cmakeFlags ++ [ "-DLUACHECK_PRG=${luacheck}/bin/luacheck" - "-DMIN_LOG_LEVEL=0" "-DENABLE_LTO=OFF" ] ++ final.lib.optionals final.stdenv.isLinux [ # https://github.com/google/sanitizers/wiki/AddressSanitizerFlags diff --git a/contrib/local.mk.example b/contrib/local.mk.example index 20396e86ae..4bd026cf87 100644 --- a/contrib/local.mk.example +++ b/contrib/local.mk.example @@ -31,9 +31,10 @@ # often. You can disable it explicitly: # CMAKE_EXTRA_FLAGS += -DENABLE_LTO=OFF -# Log levels: 0 (DEBUG), 1 (INFO), 2 (WARNING), 3 (ERROR) -# Default is 1 (INFO) unless CMAKE_BUILD_TYPE is Release or RelWithDebInfo. -# CMAKE_EXTRA_FLAGS += -DMIN_LOG_LEVEL=1 +# Log levels: DEBUG, INFO, WARNING, ERROR +# For Debug builds all log levels are used +# For Release and RelWithDebInfo builds only WARNING and ERROR are used, unless: +# CMAKE_EXTRA_FLAGS += -DLOG_DEBUG # By default, nvim uses bundled versions of its required third-party # dependencies. |