Build failure for release-1.7 branch on Ubuntu 21.10

I recently updated to Ubuntu 21.10 which uses gcc version 11.2.0. I noticed that the VERSION in the release-1.7 branch of the Julia sources has been changed to 1.7.0-rc2 and tried to compile it. I am consistently encountering an error of the form

$ make
    CC src/task.o
In file included from /usr/include/signal.h:328,
                 from /home/bates/git/release-1.7/src/task.c:31:
/home/bates/git/release-1.7/src/task.c:70:29: error: missing binary operator before token "("
   70 | #if defined(MINSIGSTKSZ) && MINSIGSTKSZ > 131072
      |                             ^~~~~~~~~~~
make[1]: *** [Makefile:169: task.o] Error 1
make: *** [Makefile:76: julia-src-release] Error 2

I am able to compile the master branch of the Julia sources using this gcc.

I looked for an issue on this but didn’t see one.