summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 4652db4..6a703ab 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -508,6 +508,9 @@
'cflags_cc': [
'-fno-rtti',
'-fno-threadsafe-statics',
+ # Make inline functions have hidden visiblity by default.
+ # Surprisingly, not covered by -fvisibility=hidden.
+ '-fvisibility-inlines-hidden',
],
'ldflags': [
'-pthread',