[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:
NAKAMURA Takumi 2015-01-06 09:44:44 +00:00
parent a108580b07
commit 23dc3f4eef

View File

@ -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)