chore: compile stage 0 against correct version string (#9085)
This ensure the correct version string is embedded into shipped .oleans, though only the githash is relevant for the version check.
This commit is contained in:
parent
cb3174b1c6
commit
d53d4722cc
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ foreach(var ${vars})
|
|||
list(APPEND STAGE1_ARGS "-D${CMAKE_MATCH_1}=${${var}}")
|
||||
elseif("${currentHelpString}" MATCHES "No help, variable specified on the command line." OR "${currentHelpString}" STREQUAL "")
|
||||
list(APPEND CL_ARGS "-D${var}=${${var}}")
|
||||
if("${var}" MATCHES "USE_GMP|CHECK_OLEAN_VERSION")
|
||||
if("${var}" MATCHES "USE_GMP|CHECK_OLEAN_VERSION|LEAN_VERSION_.*|LEAN_SPECIAL_VERSION_DESC")
|
||||
# must forward options that generate incompatible .olean format
|
||||
list(APPEND STAGE0_ARGS "-D${var}=${${var}}")
|
||||
elseif("${var}" MATCHES "LLVM*|PKG_CONFIG|USE_LAKE|USE_MIMALLOC")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue