build: update to support building under a hosted cross-compiler
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user