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:
parent
65a0920ca6
commit
81c174e318
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue