Fail to install 515 driver when installing cuda 117 on Ubuntu 22.04

It seems there’s a warning that installer is using CC to compile the kernel module while linux kernel is compiled using gcc.
nvidia-installer.log (90.9 KB)