0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-21 12:22:50 -05:00

cmake: Refer to the configure log instead of printing PIE test error

This change improves the user experience on systems where the toolchain
does not support PIE.
This commit is contained in:
Hennadii Stepanov 2025-01-23 15:38:36 +00:00
parent 65a0920ca6
commit 81c174e318
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -21,7 +21,7 @@ function(check_linker_supports_pie warnings)
set(CMAKE_POSITION_INDEPENDENT_CODE ON PARENT_SCOPE)
elseif(NOT WIN32)
# The warning is superfluous for Windows.
message(WARNING "PIE is not supported at link time: ${output}")
message(WARNING "PIE is not supported at link time. See the configure log for details.")
set(${warnings} ${${warnings}} "Position independent code disabled." PARENT_SCOPE)
endif()
endfunction()