Toolchain: Build crtbeginS.o crtendS.o and shared libgcc

This commit is contained in:
2024-09-05 12:54:22 +03:00
parent aa7e92b275
commit 9aed8dbe6b
4 changed files with 58 additions and 24 deletions

View File

@@ -4,6 +4,8 @@ set(SOURCES
add_executable(init ${SOURCES})
banan_include_headers(init ban)
banan_link_library(init libc)
banan_link_library(init libc-static)
target_link_options(init PRIVATE -static-libgcc)
install(TARGETS init OPTIONAL)