musllvm

A pure LLVM/Clang cross compiler toolchain targeting musl C
git clone git://git.daat.foo/musllvm.git
Log | Files | Refs | README | LICENSE

0006-compiler-rt-default-to-libc-for-sanitizers.patch (736B)


      1 From 73de90029db874f0fe7c97b11692a7534f2e5f70 Mon Sep 17 00:00:00 2001
      2 From: q66 <q66@chimera-linux.org>
      3 Date: Sat, 4 Nov 2023 08:55:34 +0100
      4 Subject: [PATCH 06/29] compiler-rt: default to libc++ for sanitizers
      5 
      6 ---
      7  compiler-rt/CMakeLists.txt | 2 +-
      8  1 file changed, 1 insertion(+), 1 deletion(-)
      9 
     10 diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt
     11 index 2c52788de..bad897a12 100644
     12 --- a/compiler-rt/CMakeLists.txt
     13 +++ b/compiler-rt/CMakeLists.txt
     14 @@ -228,7 +228,7 @@ macro(handle_default_cxx_lib var)
     15        set(${var}_LIBNAME "libc++")
     16        set(${var}_INTREE 1)
     17      else()
     18 -      set(${var}_LIBNAME "libstdc++")
     19 +      set(${var}_LIBNAME "libc++")
     20        set(${var}_SYSTEM 1)
     21      endif()
     22    else()
     23 -- 
     24 2.49.0
     25