mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-02-06 01:55:19 -05:00
![Thibaut Sautereau](/assets/img/avatar_default.png)
In particular, the _GNU_SOURCE feature test macro needs to be set in order to correctly define mmap(2) flags such as MAP_ANONYMOUS. Otherwise, compilation of some test files fails when CPPFLAGS is not defined in the initial user environment, as Make then does not export it from the root Makefile to the sub-make.