Build without RTTI on windows (/GR-), saves 1kB and is consisten with linux/mac.

This commit is contained in:
Nico Weber 2012-04-30 08:40:12 -07:00
parent 3e9cb5d72a
commit ada42e5eee

View File

@ -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']