aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-08-03 15:08:04 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-03 15:08:04 -0700
commit19a9720978700a24efed8dda7e0935ea2b7338c4 (patch)
treea6415a2378e83fa3aa1c9eea915037d78762f47a /gn/BUILD.gn
parent4fd74aec9f6c68c66483bcc6735793440b1ba184 (diff)
GN: build sfntly, icu, harfbuzz
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn5
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",