mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 22:30:33 +00:00
GetTargetTriple.cmake: detect MinGW 64 bits.
llvm-svn: 116424
This commit is contained in:
parent
8f0bea85bf
commit
03ba7cb432
@ -9,7 +9,11 @@ function( get_target_triple var )
|
||||
set( value "i686-pc-win32" )
|
||||
endif()
|
||||
elseif( MINGW AND NOT MSYS )
|
||||
set( value "i686-pc-mingw32" )
|
||||
if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
|
||||
set( value "x86_64-w64-mingw32" )
|
||||
else()
|
||||
set( value "i686-pc-mingw32" )
|
||||
endif()
|
||||
else( MSVC )
|
||||
set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
|
||||
execute_process(COMMAND sh ${config_guess}
|
||||
|
Loading…
Reference in New Issue
Block a user