Index: gn/BUILD.gn |
diff --git a/gn/BUILD.gn b/gn/BUILD.gn |
index 5789aef48b38e0a261e923ab0b5020778e596a50..48bd90f639ec7fcec227c2327180f787edf56f1f 100644 |
--- a/gn/BUILD.gn |
+++ b/gn/BUILD.gn |
@@ -9,6 +9,10 @@ declare_args() { |
cxx = "c++" |
} |
+config("no_rtti") { |
+ cflags_cc = [ "-fno-rtti" ] |
+} |
+ |
config("default") { |
cflags = [ |
"-g", |
@@ -30,7 +34,6 @@ config("default") { |
cflags_cc = [ |
"-std=c++11", |
"-fno-exceptions", |
- "-fno-rtti", |
"-fno-threadsafe-statics", |
"-fvisibility-inlines-hidden", |