1
0

fix: use gcc 4.8 for Debian 3.11-{1,2} kernels

This commit is contained in:
dump_stack() 2023-05-27 20:49:54 +00:00
parent 3d70591717
commit e618d6b001
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -164,6 +164,11 @@ func kernelRelease(dk DebianKernel) (r Release, err error) {
break break
} }
switch dk.Version.ABI {
case "3.11-1", "3.11-2":
gcc = "4.8"
}
switch gcc { switch gcc {
case "", "4.4", "4.6", "4.7": case "", "4.4", "4.6", "4.7":
// Note that we are catching an empty string, which // Note that we are catching an empty string, which