Fix boost build with mingw w32 threads
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 3 May 2017 08:53:25 +0000 (10:53 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 3 May 2017 08:53:25 +0000 (10:53 +0200)
* src/gpg4win.mk.in: Explicitly disable c++11

--
Otherwise boost thinks that std::threads are fully supported
and does not use its own replacements for these functions. While
mingw5 still does not support c++11 threads in debian.

src/gpg4win.mk.in

index a682890..08c29a1 100644 (file)
@@ -588,6 +588,7 @@ stamps/stamp-$(1)-02-build: stamps/stamp-$(1)-01-patch
         threading=multi \
         variant=release \
         toolset=gcc-mxe \
+        cxxflags=-std=gnu++98 \
         --layout=tagged \
         --disable-icu \
         --without-mpi \