e3dd4d0319
Because the default C version of clang is not synchronized with gcc, to avoid further propagation of overriding CFLAGS to downstream packages, only apply gcc15 compat patches when the compiler is gcc. Therefore, it can be compiled with clang as well. Follow up for pr #476147. Co-authored-by: Aleksana <me@aleksana.moe>