mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[cmake] Allow config.guess to be run with MSYS on Windows
Summary: With r363420, config.guess can no longer be run with MSYS on Windows and this patch should be able to fix this particular case. Reviewers: compnerd Reviewed By: compnerd Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63834 llvm-svn: 364485
This commit is contained in:
parent
d7953460dd
commit
95da89f76f
@ -15,7 +15,7 @@ function( get_host_triple var )
|
|||||||
set( value "i686-pc-windows-gnu" )
|
set( value "i686-pc-windows-gnu" )
|
||||||
endif()
|
endif()
|
||||||
else( MSVC )
|
else( MSVC )
|
||||||
if(CMAKE_HOST_SYSTEM_NAME STREQUAL Windows)
|
if(CMAKE_HOST_SYSTEM_NAME STREQUAL Windows AND NOT MSYS)
|
||||||
message(WARNING "unable to determine host target triple")
|
message(WARNING "unable to determine host target triple")
|
||||||
else()
|
else()
|
||||||
set(config_guess ${LLVM_MAIN_SRC_DIR}/cmake/config.guess)
|
set(config_guess ${LLVM_MAIN_SRC_DIR}/cmake/config.guess)
|
||||||
|
Loading…
Reference in New Issue
Block a user