armbian-next: show more complete gcc versions in logs

This commit is contained in:
Ricardo Pardini
2022-10-26 22:51:40 +02:00
parent 329e249df1
commit d502402c1a
3 changed files with 4 additions and 4 deletions

View File

@@ -286,7 +286,7 @@ function kernel_config() {
[[ -z $toolchain ]] && exit_with_error "Could not find required toolchain" "${KERNEL_COMPILER}gcc $KERNEL_USE_GCC"
fi
kernel_compiler_version="$(eval env PATH="${toolchain}:${PATH}" "${KERNEL_COMPILER}gcc" -dumpversion)"
kernel_compiler_version="$(eval env PATH="${toolchain}:${PATH}" "${KERNEL_COMPILER}gcc" -dumpfullversion -dumpversion)"
display_alert "Compiler version" "${KERNEL_COMPILER}gcc ${kernel_compiler_version}" "info"
# copy kernel config