Comment 8 for bug 2054865

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

++ if [[ -e $kernel_source_dir/.config ]]; then
++ cc=$(sed -n 's|^CONFIG_CC_VERSION_TEXT="\([^ ]*\) .*"|\1|p' $kernel_source_dir/.config)
++ if command -v "$cc" >/dev/null; then
++ export CC="$cc"
++ fi
++ fi

this is the code checking and forcing a specific compiler version...