LibC: Don't link against libstdc++

This prevented building the toolchain
This commit is contained in:
Bananymous 2026-03-23 18:22:42 +02:00
parent 7d7d5ba734
commit 6a77754adf
1 changed files with 2 additions and 2 deletions

View File

@ -100,8 +100,8 @@ banan_install_headers(objlibc)
add_library(libc-static STATIC $<TARGET_OBJECTS:objlibc>)
add_library(libc-shared SHARED $<TARGET_OBJECTS:objlibc>)
target_link_options(libc-static PRIVATE -nolibc)
target_link_options(libc-shared PRIVATE -nolibc)
target_link_options(libc-static PRIVATE -nolibc -nostdlib++)
target_link_options(libc-shared PRIVATE -nolibc -nostdlib++)
install(TARGETS libc-static OPTIONAL)
install(TARGETS libc-shared OPTIONAL)