diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-10-28 18:31:39 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-10-28 18:31:39 +0100 |
| commit | 12dedc7e2e51390fdf2caec3700e75db19be1cd4 (patch) | |
| tree | 3dffc472cdc680417adf400026d626407d05dd04 /libs/kstd/CMakeLists.txt | |
| parent | 9535226376ea812007fbe8a2aaf6cf3ccb77c263 (diff) | |
| download | teachos-12dedc7e2e51390fdf2caec3700e75db19be1cd4.tar.xz teachos-12dedc7e2e51390fdf2caec3700e75db19be1cd4.zip | |
kstd: don't rely on newlib
Diffstat (limited to 'libs/kstd/CMakeLists.txt')
| -rw-r--r-- | libs/kstd/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt index ac9e78f..666a5d7 100644 --- a/libs/kstd/CMakeLists.txt +++ b/libs/kstd/CMakeLists.txt @@ -2,6 +2,9 @@ add_library("kstd" STATIC) add_library("libs::kstd" ALIAS "kstd") target_sources("kstd" PRIVATE + "src/bits/os.cpp" + "src/cstdlib.cpp" + "src/cstring.cpp" "src/mutex.cpp" ) @@ -23,3 +26,8 @@ target_sources("kstd" PUBLIC target_include_directories("kstd" PUBLIC "include" ) + +target_link_options("kstd" INTERFACE + "-Wl,--undefined=abort" + "-Wl,--undefined=strlen" +)
\ No newline at end of file |
