mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-20 14:05:23 +01:00
build: remove ENABLE_HARDENING cond from check-security
This check is only used in release builds, where hardening should always be enabled. I can't think of a reason we'd want to silently skip these checks if hardening was inadvertently disabled.
This commit is contained in:
parent
9da0820ec5
commit
113a7a363f
1 changed files with 5 additions and 9 deletions
|
@ -35,15 +35,11 @@ function(add_maintenance_targets)
|
|||
VERBATIM
|
||||
)
|
||||
|
||||
if(ENABLE_HARDENING)
|
||||
add_custom_target(check-security
|
||||
COMMAND ${CMAKE_COMMAND} -E echo "Checking binary security..."
|
||||
COMMAND ${PYTHON_COMMAND} ${PROJECT_SOURCE_DIR}/contrib/devtools/security-check.py ${executables}
|
||||
VERBATIM
|
||||
)
|
||||
else()
|
||||
add_custom_target(check-security)
|
||||
endif()
|
||||
add_custom_target(check-security
|
||||
COMMAND ${CMAKE_COMMAND} -E echo "Checking binary security..."
|
||||
COMMAND ${PYTHON_COMMAND} ${PROJECT_SOURCE_DIR}/contrib/devtools/security-check.py ${executables}
|
||||
VERBATIM
|
||||
)
|
||||
endfunction()
|
||||
|
||||
function(add_windows_deploy_target)
|
||||
|
|
Loading…
Add table
Reference in a new issue