diff options
-rw-r--r-- | gn/BUILD.gn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index 3573740f99..07a57aafbd 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -156,7 +156,7 @@ config("default") { # The main idea is to slim the exported API, but these flags also improve link time on Mac. # These would make stack traces worse on Linux, so we don't just set them willy-nilly. - if (is_component_build || is_mac) { + if (is_component_build || is_ios || is_mac) { cflags += [ "-fvisibility=hidden" ] cflags_cc += [ "-fvisibility-inlines-hidden" ] } |