]> source.dussan.org Git - tigervnc.git/commitdiff
MinGW tweak: Build with -mthreads.
authorPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 13:41:12 +0000 (13:41 +0000)
committerPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 13:41:12 +0000 (13:41 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3368 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/configure.ac
win/configure.ac

index d590e051e8cc8874d975c69f2c65b60a13e361bb..c07b7fd9fabbe045ed9247c3979de0dc9d7c583a 100644 (file)
@@ -28,6 +28,7 @@ esac
 case "$host_os" in
     mingw*)
         CPPFLAGS="$CPPFLAGS -DWINVER=0x0500 -D_WIN32_IE=0x0500"
+        CXXFLAGS="$CXXFLAGS -mthreads"
         ;;
 esac
 
index b3c4e47354d7a4ff56b7eb44bf9fc33f8efcd80c..256d69ae38ed3cd6eb945ce59c158d0e9e903715 100644 (file)
@@ -21,6 +21,7 @@ if test "$GXX" = yes; then
 fi
 
 CPPFLAGS="$CPPFLAGS -DWINVER=0x0500 -D_WIN32_IE=0x0500"
+CXXFLAGS="$CXXFLAGS -mthreads"
 
 AC_PATH_XTRA