1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

CMake: Discriminate MINGW, MSYS, CYGWIN: does not try to build llvm-config under mingw without msys.

llvm-svn: 79202
This commit is contained in:
Oscar Fuentes 2009-08-16 20:50:41 +00:00
parent baae88d65a
commit 3682d10c41
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,8 @@ function( get_target_triple var )
else()
set( ${var} "i686-pc-win32" PARENT_SCOPE )
endif()
elseif( MINGW AND NOT MSYS )
set( ${var} "i686-pc-mingw32" PARENT_SCOPE )
else( MSVC )
set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
execute_process(COMMAND sh ${config_guess}

View File

@ -2,7 +2,7 @@
# large and three small executables. This is done to minimize memory load
# in parallel builds. Please retain this ordering.
if( NOT MSVC )
if( NOT WIN32 OR MSYS OR CYGWIN )
# It is useful to build llvm-config before the other tools, so we
# have a fresh LibDeps.txt for regenerating the hard-coded library
# dependencies. llvm-config/CMakeLists.txt takes care of this but we