diff options
author | Nico Weber <thakis@chromium.org> | 2012-04-30 15:40:12 (GMT) |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2012-04-30 15:40:12 (GMT) |
commit | ada42e5eee8d35c359baa828c9403fa406c1db8b (patch) | |
tree | fa752b372e80f5ca30e2e307c1d5f6c2b2da5ee7 /configure.py | |
parent | 3e9cb5d72ae6ea6faab4b7bdb7781d130590e799 (diff) | |
download | Ninja-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-x | configure.py | 2 |
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'] |