From bcc0ac15f497513455aa144ffe4e658f7aca0e73 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 19 May 2021 13:18:46 +0400 Subject: [PATCH] Add valloc/pvalloc to external_mallocng. --- external/mallocng/CMakeLists.txt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/external/mallocng/CMakeLists.txt b/external/mallocng/CMakeLists.txt index 50b841c..c3d2422 100644 --- a/external/mallocng/CMakeLists.txt +++ b/external/mallocng/CMakeLists.txt @@ -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 -)