On 10/03/2021 03.25, Axel Beckert wrote:
Correct. But how do I determine that kernel-specific compiler without
tracking down package dependencies? linux-compiler-gcc-10-x86 seems
not to provide a symlink or similar.

Or is tracking down package dependencies the way to go?

If you are inside Kbuild, CC is set to the correct value. But you are calling a configure script outside of Kbuild ...

Actually I would have expected that DKMS already takes care of this.

That is actually a good idea. dkms knows which headers to use, so it should try to find the correct CC and set this. That should help all of these packages, unless they hardcode CC=gcc somewhere.

Andreas

Reply via email to