aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2022-06-28 10:20:13 -0700
committerMichael Jones <michaelrj@google.com>2022-06-28 10:22:15 -0700
commit03a26c34a7cd577777dca2157419f30ac6df27f0 (patch)
tree64427ebc6c1a4e804e569c94c977f40ecc7ffaad /libc
parentc755bf658f7de41c2ee1d2be4e8080d3acaadbae (diff)
downloadllvm-03a26c34a7cd577777dca2157419f30ac6df27f0.zip
llvm-03a26c34a7cd577777dca2157419f30ac6df27f0.tar.gz
llvm-03a26c34a7cd577777dca2157419f30ac6df27f0.tar.bz2
[libc] Fix compile options for algorithm test
This patch fixes the problem the bots were having with the algorithm test not including pthreads correctly. They will likely need a manual forced clean build for this to take effect. Differential Revision: https://reviews.llvm.org/D128742
Diffstat (limited to 'libc')
-rw-r--r--libc/test/src/string/memory_utils/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/test/src/string/memory_utils/CMakeLists.txt b/libc/test/src/string/memory_utils/CMakeLists.txt
index 9b777a7..3e2e678 100644
--- a/libc/test/src/string/memory_utils/CMakeLists.txt
+++ b/libc/test/src/string/memory_utils/CMakeLists.txt
@@ -12,6 +12,7 @@ add_libc_unittest(
COMPILE_OPTIONS
${LIBC_COMPILE_OPTIONS_NATIVE}
-ffreestanding
+ -pthread
DEPENDS
libc.src.string.memory_utils.memory_utils
libc.src.__support.CPP.array