While building i ran into an error because i had a version of secp256k1.h under /usr/local/include that was incompatible with the secp256k1 code in the repository. This caused a problem because $(BOOST_CPPFLAGS) contained -I/usr/local/include and the include paths are searched by the compiler in order from left to right, so in the end $(BITCOIN_INCLUDES) contained -I/usr/local/include before -I$(srcdir)/secp256k1/include which caused the compiler to find secp256k1.h under /usr/local/include.
Looking at git blame i am wondering how this has not happened to anyone else in several years: https://github.com/bitcoin/bitcoin/blame/cb89e18845852c005ba8ab94acc6544d7c876a42/src/Makefile.am#L25
I am on macOS 10.15.