From a3f272c1d2685e125a320117be4a7c3a1c543aa6 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 1 May 2011 11:22:31 +0300 Subject: [PATCH] Override boost library suffix in cmake toolchain file --- Toolchain-mingw32.cmake | 2 ++ mingw32-filesystem.spec | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Toolchain-mingw32.cmake b/Toolchain-mingw32.cmake index d80988d..6c9c932 100644 --- a/Toolchain-mingw32.cmake +++ b/Toolchain-mingw32.cmake @@ -21,3 +21,5 @@ SET(QT_LIBRARY_DIR ${CMAKE_FIND_ROOT_PATH}/lib) # set the resource compiler (RHBZ #652435) SET(CMAKE_RC_COMPILER /usr/bin/i686-pc-mingw32-windres) +# override boost library suffix which defaults to -mgw +SET(Boost_COMPILER -gcc45) diff --git a/mingw32-filesystem.spec b/mingw32-filesystem.spec index b5fceb7..c02e5fd 100644 --- a/mingw32-filesystem.spec +++ b/mingw32-filesystem.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: mingw32-filesystem -Version: 65 +Version: 66 Release: 1%{?dist} Summary: MinGW base filesystem and environment @@ -168,6 +168,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun May 01 2011 Kalev Lember - 66-1 +- Override boost library suffix in cmake toolchain file + * Thu Mar 17 2011 Kalev Lember - 65-1 - Don't error out trying to set illegal LD.BFD variable name