Add valloc/pvalloc to external_mallocng.
This commit is contained in:
parent
45be9e3215
commit
bcc0ac15f4
1 changed files with 2 additions and 8 deletions
10
external/mallocng/CMakeLists.txt
vendored
10
external/mallocng/CMakeLists.txt
vendored
|
|
@ -24,6 +24,8 @@ PRIVATE
|
|||
malloc_usable_size.c
|
||||
meta.h
|
||||
glue.h
|
||||
valloc.c
|
||||
pvalloc.c
|
||||
)
|
||||
|
||||
target_compile_options(external_mallocng_bundled
|
||||
|
|
@ -42,11 +44,3 @@ INTERFACE
|
|||
external_mallocng_bundled
|
||||
-Wl,--no-whole-archive
|
||||
)
|
||||
|
||||
target_compile_options(external_mallocng
|
||||
INTERFACE
|
||||
-fno-builtin-malloc
|
||||
-fno-builtin-calloc
|
||||
-fno-builtin-realloc
|
||||
-fno-builtin-free
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue