mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 01:15:32 +00:00
GetTargetTriple.cmake: detect MinGW 64 bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116424 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b35ad41fef
commit
72731a6c19
@ -9,7 +9,11 @@ function( get_target_triple var )
|
|||||||
set( value "i686-pc-win32" )
|
set( value "i686-pc-win32" )
|
||||||
endif()
|
endif()
|
||||||
elseif( MINGW AND NOT MSYS )
|
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 )
|
else( MSVC )
|
||||||
set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
|
set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
|
||||||
execute_process(COMMAND sh ${config_guess}
|
execute_process(COMMAND sh ${config_guess}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user