configure: remove gcc version suffixes

The modern packaging of cross GCC's doesn't need the explicit version
number at the end.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231009164104.369749-8-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2023-10-09 17:40:46 +01:00
parent 42ede11aee
commit e0f8951235

4
configure vendored
View File

@ -1334,7 +1334,7 @@ probe_target_compiler() {
# We don't have any bigendian build tools so we only use this for AArch64 # We don't have any bigendian build tools so we only use this for AArch64
container_image=debian-arm64-cross container_image=debian-arm64-cross
container_cross_prefix=aarch64-linux-gnu- container_cross_prefix=aarch64-linux-gnu-
container_cross_cc=${container_cross_prefix}gcc-10 container_cross_cc=${container_cross_prefix}gcc
;; ;;
alpha) alpha)
container_image=debian-alpha-cross container_image=debian-alpha-cross
@ -1397,7 +1397,7 @@ probe_target_compiler() {
ppc) ppc)
container_image=debian-powerpc-test-cross container_image=debian-powerpc-test-cross
container_cross_prefix=powerpc-linux-gnu- container_cross_prefix=powerpc-linux-gnu-
container_cross_cc=${container_cross_prefix}gcc-10 container_cross_cc=${container_cross_prefix}gcc
;; ;;
ppc64|ppc64le) ppc64|ppc64le)
container_image=debian-powerpc-test-cross container_image=debian-powerpc-test-cross