mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-01-31 01:23:27 -05:00
a33d2ca97d
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.