projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada42e5
)
Explicitly pass -DGTEST_HAS_RTTI to fix building ninja_test with clang.
author
Nico Weber
<thakis@chromium.org>
Mon, 30 Apr 2012 15:40:34 +0000
(08:40 -0700)
committer
Nico Weber
<thakis@chromium.org>
Mon, 30 Apr 2012 15:40:34 +0000
(08:40 -0700)
configure.py
patch
|
blob
|
history
diff --git
a/configure.py
b/configure.py
index
3ca706c
..
dc727e8
100755
(executable)
--- a/
configure.py
+++ b/
configure.py
@@
-271,7
+271,8
@@
if options.with_gtest:
os.path.join(path, 'src/gtest_main.cc'),
variables=[('cflags', gtest_cflags)])
- test_cflags = cflags + ['-I%s' % os.path.join(path, 'include')]
+ test_cflags = cflags + ['-DGTEST_HAS_RTTI=0',
+ '-I%s' % os.path.join(path, 'include')]
elif platform == 'windows':
test_libs.extend(['gtest_main.lib', 'gtest.lib'])
else: