summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/SConscript.gtest15
1 files changed, 8 insertions, 7 deletions
diff --git a/testing/SConscript.gtest b/testing/SConscript.gtest
index 38dd2f3..c2810c1 100644
--- a/testing/SConscript.gtest
+++ b/testing/SConscript.gtest
@@ -38,14 +38,15 @@ env.Prepend(
],
)
-env.Append(
- CCFLAGS = [
- '/TP',
+if env['PLATFORM'] == 'win32':
+ env.Append(
+ CCFLAGS = [
+ '/TP',
- '/WX',
- '/Wp64',
- ],
-)
+ '/WX',
+ '/Wp64',
+ ],
+ )
input_files = [
'gtest/src/gtest-death-test.cc',