Build with -std=c++11 on Windows as the libxml++ version in mxe requires it.
authorCarl Hetherington <cth@carlh.net>
Fri, 8 Dec 2017 17:11:19 +0000 (17:11 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 8 Dec 2017 17:11:19 +0000 (17:11 +0000)
wscript

diff --git a/wscript b/wscript
index c40aa07938b8e69ed4855209b3970d60c6ddcaef..86452bc8833bc0128e13347e6aac0af2f9780a56 100644 (file)
--- a/wscript
+++ b/wscript
@@ -105,6 +105,7 @@ def configure(conf):
         conf.env.append_value('CXXFLAGS', '-DUNICODE')
         conf.env.append_value('CXXFLAGS', '-DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN')
         conf.env.append_value('CXXFLAGS', '-mfpmath=sse')
+        conf.env.append_value('CXXFLAGS', '-std=c++11')
         wxrc = os.popen('wx-config --rescomp').read().split()[1:]
         conf.env.append_value('WINRCFLAGS', wxrc)
         if conf.options.enable_debug: