summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-24 14:30:34 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-24 14:30:34 +0100
commitec75b4ddc97ab10f73ae84b612ca7c8056afcc45 (patch)
tree8cb139035135cd2289e298fc7602cb4b5393f0ba /wscript
parent49a51ff9778f3b72ee962d3e8bd9cf71944f3c2b (diff)
Revert attempt to reduce win32 warnings.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/wscript b/wscript
index 09e70454e..2c1dbaae7 100644
--- a/wscript
+++ b/wscript
@@ -35,7 +35,7 @@ def configure(conf):
conf.env.TARGET_LINUX = not conf.env.TARGET_WINDOWS and not conf.env.TARGET_OSX
# Common CXXFLAGS
- conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-msse', '-mfpmath=sse', '-ffast-math', '-fno-strict-aliasing',
+ conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-D__STDC_LIMIT_MACROS', '-msse', '-mfpmath=sse', '-ffast-math', '-fno-strict-aliasing',
'-Wall', '-Wno-attributes', '-Wextra', '-D_FILE_OFFSET_BITS=64'])
if conf.options.enable_debug:
@@ -64,7 +64,6 @@ def configure(conf):
conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_POSIX')
conf.env.append_value('CXXFLAGS', '-DPOSIX_LOCALE_PREFIX="%s/share/locale"' % conf.env['PREFIX'])
conf.env.append_value('CXXFLAGS', '-DPOSIX_ICON_PREFIX="%s/share/dcpomatic"' % conf.env['PREFIX'])
- conf.env.append_value('CXXFLAGS', '-D__STDC_LIMIT_MACROS')
boost_lib_suffix = ''
boost_thread = 'boost_thread'
conf.env.append_value('LINKFLAGS', '-pthread')