How to compile clear linux kernel with older version of glibc

I am currently trying to compile the lts2021 version of the clear linux kernel. I need to recompile as I need to enable PIMSM related flags. However, the compiled kernel seems to be getting compiled with glibc_2.38 while my system has glibc_2.37 (even after installing the compiled kernel). This is resulting into a major problem to me as I am unable to compile some of the device drivers for Exanic Network cards, with the reason being stated as

./tools/objtool/objtool: /usr/lib64/glibc-hwcaps/x86-64-v3/ version `GLIBC_2.38’ not found (required by ./tools/objtool/objtool)

If I can compile the kernel with older glib_2.37 then this will solve all my issues but the documentation here Kernel development — Documentation for Clear Linux* project does nto have any info about it.