Build failure was observered when build on a machine without clang.
```
* For target hotspot_variant-server_libjvm_objs_precompiled_precompiled.hpp.gch:
In file included from /root/jdk/src/hotspot/share/utilities/compilerWarnings.hpp:32,
from /root/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:28,
from /root/jdk/src/hotspot/share/memory/allocation.hpp:29,
from /root/jdk/src/hotspot/share/classfile/classLoaderData.hpp:28,
from /root/jdk/src/hotspot/share/precompiled/precompiled.hpp:34:
/root/jdk/src/hotspot/share/utilities/compilerWarnings_gcc.hpp:66:25: error: "__clang_major__" is not defined, evaluates to 0 [-Werror=undef]
#if (__GNUC__ >= 9) || (__clang_major__ >= 14)
^~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
```