mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
linux: Disable compiler TLS in libxml2 (fixes #3616)
This commit is contained in:
@ -694,5 +694,10 @@ patches = [
|
|||||||
# chrome: win: Fix loading of default app icon.
|
# chrome: win: Fix loading of default app icon.
|
||||||
# https://github.com/chromiumembedded/cef/issues/3606
|
# https://github.com/chromiumembedded/cef/issues/3606
|
||||||
'name': 'win_app_icon_3606'
|
'name': 'win_app_icon_3606'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
# linux: Disable compiler TLS in libxml2.
|
||||||
|
# https://github.com/chromiumembedded/cef/issues/3616
|
||||||
|
'name': 'linux_libxml_tls_3616'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
13
patch/patches/linux_libxml_tls_3616.patch
Normal file
13
patch/patches/linux_libxml_tls_3616.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git third_party/libxml/linux/config.h third_party/libxml/linux/config.h
|
||||||
|
index c064071ce1545..65110af9a78f5 100644
|
||||||
|
--- third_party/libxml/linux/config.h
|
||||||
|
+++ third_party/libxml/linux/config.h
|
||||||
|
@@ -171,7 +171,7 @@
|
||||||
|
/* #undef XML_SOCKLEN_T */
|
||||||
|
|
||||||
|
/* TLS specifier */
|
||||||
|
-#define XML_THREAD_LOCAL _Thread_local
|
||||||
|
+/* #undef XML_THREAD_LOCAL */
|
||||||
|
|
||||||
|
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
Reference in New Issue
Block a user