mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-31 03:51:05 +02:00
build: Delete dead code that implements IF_CHECK_FAILED
option
This commit is contained in:
@@ -22,7 +22,7 @@ function(try_append_linker_flag flag)
|
||||
TALF # prefix
|
||||
"" # options
|
||||
"TARGET;VAR;SOURCE;RESULT_VAR" # one_value_keywords
|
||||
"IF_CHECK_PASSED;IF_CHECK_FAILED" # multi_value_keywords
|
||||
"IF_CHECK_PASSED" # multi_value_keywords
|
||||
)
|
||||
|
||||
string(MAKE_C_IDENTIFIER "${flag}" result)
|
||||
@@ -58,13 +58,6 @@ function(try_append_linker_flag flag)
|
||||
string(STRIP "${${TALF_VAR}} ${flag}" ${TALF_VAR})
|
||||
endif()
|
||||
endif()
|
||||
elseif(DEFINED TALF_IF_CHECK_FAILED)
|
||||
if(DEFINED TALF_TARGET)
|
||||
target_link_options(${TALF_TARGET} INTERFACE ${TACXXF_IF_CHECK_FAILED})
|
||||
endif()
|
||||
if(DEFINED TALF_VAR)
|
||||
string(STRIP "${${TALF_VAR}} ${TACXXF_IF_CHECK_FAILED}" ${TALF_VAR})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(DEFINED TALF_VAR)
|
||||
|
Reference in New Issue
Block a user