feat: turn on warningAsError
This commit is contained in:
parent
f1f0f60768
commit
f4de40d7dc
2 changed files with 2 additions and 1 deletions
|
|
@ -85,6 +85,7 @@ rec {
|
|||
# use same stage for retrieving dependencies
|
||||
lean-leanDeps = stage0;
|
||||
lean-final = self;
|
||||
leanFlags = [ "-DwarningAsError=true" ];
|
||||
} ({
|
||||
src = ../src;
|
||||
fullSrc = ../.;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ LEANMAKE_OPTS=\
|
|||
LIB_OUT="${LIB}/lean"\
|
||||
OLEAN_OUT="${LIB}/lean"\
|
||||
BIN_OUT="${CMAKE_BINARY_DIR}/bin"\
|
||||
LEAN_OPTS+="${LEAN_EXTRA_MAKE_OPTS}"\
|
||||
LEAN_OPTS+="${LEAN_EXTRA_MAKE_OPTS} -DwarningAsError=true"\
|
||||
LEANC_OPTS+="${LEANC_OPTS}"\
|
||||
LEAN_AR="${CMAKE_AR}"\
|
||||
MORE_DEPS+="${PREV_STAGE}/bin/lean${CMAKE_EXECUTABLE_SUFFIX}"\
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue