My comment was sarcastic. The build flags for dkms packages are invisible to the end user and there is no easy way to change them. This is either a packaging error with the kernel module or the gcc default flags are erroneous. In either case this is not something the end user solves by changing build flags.
My comment was sarcastic. The build flags for dkms packages are invisible to the end user and there is no easy way to change them. This is either a packaging error with the kernel module or the gcc default flags are erroneous. In either case this is not something the end user solves by changing build flags.