mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
[CMake] Silence stderr on "COMMAND ${CMAKE_C_COMPILER} -Wl,--version". It was noisy during configuraion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225260 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a108580b07
commit
23dc3f4eef
@ -146,6 +146,7 @@ if(NOT WIN32 AND NOT APPLE)
|
|||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${CMAKE_C_COMPILER} -Wl,--version
|
COMMAND ${CMAKE_C_COMPILER} -Wl,--version
|
||||||
OUTPUT_VARIABLE stdout
|
OUTPUT_VARIABLE stdout
|
||||||
|
ERROR_QUIET
|
||||||
)
|
)
|
||||||
if("${stdout}" MATCHES "GNU gold")
|
if("${stdout}" MATCHES "GNU gold")
|
||||||
set(LLVM_LINKER_IS_GOLD ON)
|
set(LLVM_LINKER_IS_GOLD ON)
|
||||||
|
Loading…
Reference in New Issue
Block a user