summaryrefslogtreecommitdiffstats
path: root/glibcpthread.patch
diff options
context:
space:
mode:
authorRon Olson <tachoknight@gmail.com>2020-04-14 15:07:39 -0500
committerRon Olson <tachoknight@gmail.com>2020-04-14 15:07:39 -0500
commit8e62b80e958264b92e0804c336a1c2d8c461a2d0 (patch)
treed4ccd59108af39f8ea613155ecb091c283024b5b /glibcpthread.patch
parent43fe7bf1ccdc651b37b9958e9a41bc9d67a1d4e9 (diff)
downloadswift-lang-8e62b80e958264b92e0804c336a1c2d8c461a2d0.tar.gz
swift-lang-8e62b80e958264b92e0804c336a1c2d8c461a2d0.tar.xz
swift-lang-8e62b80e958264b92e0804c336a1c2d8c461a2d0.zip
Updated to GitHub versionHEADmaster
Diffstat (limited to 'glibcpthread.patch')
-rw-r--r--glibcpthread.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/glibcpthread.patch b/glibcpthread.patch
new file mode 100644
index 0000000..24ce515
--- /dev/null
+++ b/glibcpthread.patch
@@ -0,0 +1,11 @@
+--- llvm-project/compiler-rt/lib/builtins/CMakeLists.txt.orig 2019-12-11 15:39:19.537518740 -0600
++++ llvm-project/compiler-rt/lib/builtins/CMakeLists.txt 2019-12-11 23:23:57.583292289 -0600
+@@ -537,7 +537,7 @@
+ add_subdirectory(macho_embedded)
+ darwin_add_builtin_libraries(${BUILTIN_SUPPORTED_OS})
+ else ()
+- set(BUILTIN_CFLAGS "")
++ set(BUILTIN_CFLAGS "-D_DEFAULT_SOURCE")
+
+ append_list_if(COMPILER_RT_HAS_STD_C11_FLAG -std=c11 BUILTIN_CFLAGS)
+