diff options
Diffstat (limited to 'lang/mono/files/patch-mono_utils_mono-compiler.h')
-rw-r--r-- | lang/mono/files/patch-mono_utils_mono-compiler.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/mono/files/patch-mono_utils_mono-compiler.h b/lang/mono/files/patch-mono_utils_mono-compiler.h new file mode 100644 index 000000000000..a51519c7fd8d --- /dev/null +++ b/lang/mono/files/patch-mono_utils_mono-compiler.h @@ -0,0 +1,18 @@ +--- mono/utils/mono-compiler.h.orig 2017-05-01 17:08:15 UTC ++++ mono/utils/mono-compiler.h +@@ -54,13 +54,13 @@ + For now we will disable this. */ + #define MONO_TLS_FAST + #else +-#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic"))) ++#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic"))) __attribute__((visability("hidden"))) + #endif + #endif + + #else + +-#define MONO_TLS_FAST __attribute__((tls_model("local-exec"))) ++#define MONO_TLS_FAST __attribute__((tls_model("local-exec"))) __attribute__((visability("hidden"))) + + #endif + |