lib: c: malloc: enable the global heap for the static module

This commit is contained in:
2026-03-21 10:44:47 +00:00
parent a041bc55db
commit 8c09909d07

View File

@@ -30,4 +30,5 @@ sysroot_add_library(
HEADER_DIR /usr/include
LIB_DIR /usr/lib)
target_compile_definitions(libc-malloc PRIVATE ENABLE_GLOBAL_HEAP=1)
target_link_libraries(libc-malloc libc-core libmango)