]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libc: add LIBC_MALLOC option
authorBrooks Davis <brooks@FreeBSD.org>
Fri, 1 Sep 2023 16:42:39 +0000 (17:42 +0100)
committerBrooks Davis <brooks@FreeBSD.org>
Fri, 1 Sep 2023 16:54:23 +0000 (17:54 +0100)
commit09e32b2fddf5f673f76e2fffa415a73d99a6f309
tree34fb242c1c971a9bad85ad03c72e96e1400972b3
parentbd016ad227b06830ac24a8f9035b904a138a5d3e
libc: add LIBC_MALLOC option

This will enable alternative mallocs to be included in the tree and
selected by setting LIBC_MALLOC.  As there is only one today (jemalloc)
this option does nothing, but we expect to add other implementations
in the future.  This will also reduce diffs to CheriBSD.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D41660
lib/libc/stdlib/malloc/Makefile.inc
share/mk/src.opts.mk
tools/build/options/LIBC_MALLOC [new file with mode: 0644]