diff options
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r-- | gn/BUILD.gn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index 5789aef48b..48bd90f639 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", |