Comment 2 for bug 438393

Revision history for this message
Mario Limonciello (superm1) wrote : Re: DKMS module fails to build if CC env-var set but not OK

I'm a bit perplexed how you hit this. By default sudo *does not* pass the environment variables around.

supermario@mlimonciello:~$ export CC=blah
supermario@mlimonciello:~$ export | grep CC
declare -x CC="blah"
supermario@mlimonciello:~$ sudo -s
root@mlimonciello:~# export | grep CC
root@mlimonciello:~#