Closed thithib closed 2 years ago
By the way, the main
branch is the best one to submit PRs since the 12
branch is just rebased on top of that with any necessary workarounds for device-specific issues, etc. The branches will be identical soon since we'll no longer need the workaround for the Qualcomm camera drivers on the 3rd generation Pixels.
Ah, I see the problem. I accidentally changed the default branch from main
to 12
when switching the default branch from 11
to 12
across all the GrapheneOS repositories since this one was wrongly included in the list for the script.
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.