Use unwrapped binutils for msys2

The default binutils wrappers are built without plugin support.  This will streamline the build process until we decide to start supporting LTO.
This commit is contained in:
Zachary Michaels 2014-08-07 14:27:12 -04:00 committed by Riccardo Spagni
parent f64a68e7cc
commit dfa11575f2
2 changed files with 6 additions and 6 deletions

View file

@ -3,9 +3,9 @@ set (CMAKE_SYSTEM_NAME Windows)
set (GCC_PREFIX i686-w64-mingw32) set (GCC_PREFIX i686-w64-mingw32)
set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc) set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc)
set (CMAKE_CXX_COMPILER ${GCC_PREFIX}-g++) set (CMAKE_CXX_COMPILER ${GCC_PREFIX}-g++)
set (CMAKE_AR ${GCC_PREFIX}-gcc-ar CACHE FILEPATH "" FORCE) set (CMAKE_AR ar CACHE FILEPATH "" FORCE)
set (CMAKE_NM ${GCC_PREFIX}-gcc-nm CACHE FILEPATH "" FORCE) set (CMAKE_NM nm CACHE FILEPATH "" FORCE)
set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE) #set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE)
set (CMAKE_RC_COMPILER windres) set (CMAKE_RC_COMPILER windres)
set (CMAKE_FIND_ROOT_PATH c:/msys2/mingw32) set (CMAKE_FIND_ROOT_PATH c:/msys2/mingw32)

View file

@ -3,9 +3,9 @@ set (CMAKE_SYSTEM_NAME Windows)
set (GCC_PREFIX x86_64-w64-mingw32) set (GCC_PREFIX x86_64-w64-mingw32)
set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc) set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc)
set (CMAKE_CXX_COMPILER ${GCC_PREFIX}-g++) set (CMAKE_CXX_COMPILER ${GCC_PREFIX}-g++)
set (CMAKE_AR ${GCC_PREFIX}-gcc-ar CACHE FILEPATH "" FORCE) set (CMAKE_AR ar CACHE FILEPATH "" FORCE)
set (CMAKE_NM ${GCC_PREFIX}-gcc-nm CACHE FILEPATH "" FORCE) set (CMAKE_NM nm CACHE FILEPATH "" FORCE)
set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE) #set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE)
set (CMAKE_RC_COMPILER windres) set (CMAKE_RC_COMPILER windres)
set (CMAKE_FIND_ROOT_PATH c:/msys2/mingw64) set (CMAKE_FIND_ROOT_PATH c:/msys2/mingw64)