[mingw32-filesystem] Override boost library suffix in cmake toolchain file

Kalev Lember kalev at fedoraproject.org
Sun May 1 08:24:03 UTC 2011


commit a3f272c1d2685e125a320117be4a7c3a1c543aa6
Author: Kalev Lember <kalev at smartlink.ee>
Date:   Sun May 1 11:22:31 2011 +0300

    Override boost library suffix in cmake toolchain file

 Toolchain-mingw32.cmake |    2 ++
 mingw32-filesystem.spec |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
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 <kalev at smartlink.ee> - 66-1
+- Override boost library suffix in cmake toolchain file
+
 * Thu Mar 17 2011 Kalev Lember <kalev at smartlink.ee> - 65-1
 - Don't error out trying to set illegal LD.BFD variable name
 


More information about the mingw mailing list