Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 7a03f64a7ecf09d9886e7519ff0c5cc7cb814117..f7138aa6119dfaf0863923c2057c6a23029a27f3 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -438,6 +438,9 @@ |
'-fsanitize=<(skia_sanitizer)', |
'-fno-sanitize-recover=<(skia_sanitizer)', |
], |
+ 'cflags_cc!': [ |
+ '-fno-rtti' |
+ ], |
'ldflags': [ |
'-fsanitize=<(skia_sanitizer)', |
], |
@@ -445,9 +448,6 @@ |
[ 'skia_sanitizer == "thread"', { |
'defines': [ 'THREAD_SANITIZER' ], |
}], |
- [ 'skia_sanitizer == "undefined"', { |
- 'cflags_cc!': ['-fno-rtti'], |
- }], |
], |
}], |
[ 'skia_clang_build', { |