fix libcxx configure 0 for cmake 4

This commit is contained in:
Morilli 2025-03-31 02:55:25 +02:00
parent 5a020c1e9e
commit 96d192735e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export LDFLAGS="-no-pie"
# but this ends up breaking our standalone building of libunwind
# there isn't a simple fix with a command line option, so...
printf "%s\n%s\n" "enable_language(ASM)" "add_subdirectory($LLVMDIR/libunwind .)" > CMakeLists.txt
printf "%s\n%s\n%s\n" "cmake_minimum_required(VERSION 3.20.0)" "project(libunwind C CXX ASM)" "add_subdirectory($LLVMDIR/libunwind libunwind)" > CMakeLists.txt
cmake \
-DCMAKE_ASM_COMPILER="$CC" \