summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build1
-rw-r--r--src/benchmarks/eina/city.cc4
2 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index f85681c7cc..876d885a2a 100644
--- a/meson.build
+++ b/meson.build
@@ -91,6 +91,7 @@ foreach cf: dev_cflags_try
91 endif 91 endif
92endforeach 92endforeach
93add_global_arguments(dev_cflags, language: 'c') 93add_global_arguments(dev_cflags, language: 'c')
94add_global_arguments(dev_cflags, language: 'cpp')
94 95
95 96
96foreach lang : ['c', 'objc', 'cpp'] 97foreach lang : ['c', 'objc', 'cpp']
diff --git a/src/benchmarks/eina/city.cc b/src/benchmarks/eina/city.cc
index 36ff93b4e5..831adc1194 100644
--- a/src/benchmarks/eina/city.cc
+++ b/src/benchmarks/eina/city.cc
@@ -27,6 +27,8 @@
27// possible hash functions, by using SIMD instructions, or by 27// possible hash functions, by using SIMD instructions, or by
28// compromising on hash quality. 28// compromising on hash quality.
29 29
30#pragma GCC visibility push(default)
31
30#include "city.h" 32#include "city.h"
31 33
32#include <algorithm> 34#include <algorithm>
@@ -305,3 +307,5 @@ uint128 CityHash128(const char *s, size_t len) {
305 return CityHash128WithSeed(s, len, uint128(k0, k1)); 307 return CityHash128WithSeed(s, len, uint128(k0, k1));
306 } 308 }
307} 309}
310
311#pragma GCC visibility pop