summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2023-05-11 09:09:28 +0000
committerGuillaume Chatelet <gchatelet@google.com>2023-05-11 09:09:28 +0000
commiteea5d9cc4188584cbfdc18a8bac5316596e70263 (patch)
treebb0aa9c2e1c0647c9ce2441a4b9aff6a73ad18bc /libc
parentb51e6bfcb6745d88a0d41be28c6204019c79bea2 (diff)
downloadllvm-eea5d9cc4188584cbfdc18a8bac5316596e70263.tar.gz
[libc][benchmark] Do not force static linking
Being able to link statically depends on other CMake options and choice of libc.
Diffstat (limited to 'libc')
-rw-r--r--libc/benchmarks/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/benchmarks/CMakeLists.txt b/libc/benchmarks/CMakeLists.txt
index c3c12fb892dd..3d665ce1c6e7 100644
--- a/libc/benchmarks/CMakeLists.txt
+++ b/libc/benchmarks/CMakeLists.txt
@@ -196,7 +196,6 @@ target_link_libraries(libc.benchmarks.memory_functions.opt_host
libc.src.string.bzero_opt_host.__internal__
libc.src.string.memmove_opt_host.__internal__
benchmark_main
- -static
)
llvm_update_compile_flags(libc.benchmarks.memory_functions.opt_host)