summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-08 17:11:19 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-08 17:11:19 +0000
commit21c4cf9a63785f2237bc798cbe71cd2ca9bdceb7 (patch)
treedbf6ee40bf1b0a534be2e8a2bc9b2f09a1786555 /wscript
parent77451de70bf2ba01657844122668bbd2db6d777f (diff)
Build with -std=c++11 on Windows as the libxml++ version in mxe requires it.
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index c40aa0793..86452bc88 100644
--- 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: