build: update to support building under a hosted cross-compiler

This commit is contained in:
2026-07-19 13:24:41 +01:00
parent bd6872d672
commit a14d0173c8
4 changed files with 19 additions and 6 deletions
+1
View File
@@ -2,3 +2,4 @@ file(GLOB sources *.c *.h include/magenta/debug/*.h)
add_library(magenta_debug STATIC ${sources})
target_include_directories(magenta_debug PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_compile_options(magenta_debug PRIVATE -ffreestanding -nostdlib)