summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2012-04-30 15:40:12 (GMT)
committerNico Weber <thakis@chromium.org>2012-04-30 15:40:12 (GMT)
commitada42e5eee8d35c359baa828c9403fa406c1db8b (patch)
treefa752b372e80f5ca30e2e307c1d5f6c2b2da5ee7 /configure.py
parent3e9cb5d72ae6ea6faab4b7bdb7781d130590e799 (diff)
downloadNinja-ada42e5eee8d35c359baa828c9403fa406c1db8b.zip
Ninja-ada42e5eee8d35c359baa828c9403fa406c1db8b.tar.gz
Ninja-ada42e5eee8d35c359baa828c9403fa406c1db8b.tar.bz2
Build without RTTI on windows (/GR-), saves 1kB and is consisten with linux/mac.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index c35cf6f..3ca706c 100755
--- a/configure.py
+++ b/configure.py
@@ -103,7 +103,7 @@ else:
if platform == 'windows':
cflags = ['/nologo', '/Zi', '/W4', '/WX', '/wd4530', '/wd4100', '/wd4706',
- '/wd4512', '/wd4800', '/wd4702', '/wd4819',
+ '/wd4512', '/wd4800', '/wd4702', '/wd4819', '/GR-',
'/DNOMINMAX', '/D_CRT_SECURE_NO_WARNINGS',
"/DNINJA_PYTHON=\"%s\"" % (options.with_python,)]
ldflags = ['/DEBUG', '/libpath:$builddir']