From dde721c3ea80a43fc7747e8c3b89667397c4ea56 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 15 Jan 2026 13:14:21 +0100 Subject: [PATCH] config: arch: amd64: always use `x86_64-linux-gnu-` for x86 stuff - it doesn't matter on what it is running, it's always the same compiler --- config/sources/amd64.conf | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/config/sources/amd64.conf b/config/sources/amd64.conf index 35b9cca83a..a3b3db2a22 100644 --- a/config/sources/amd64.conf +++ b/config/sources/amd64.conf @@ -27,10 +27,7 @@ declare -g KERNEL_BUILD_DTBS="no" # amd64 has no DTBs. that I know of. declare -g KERNEL_IMAGE_TYPE="${KERNEL_IMAGE_TYPE:-"bzImage"}" declare -g KERNEL_INSTALL_TYPE="${KERNEL_INSTALL_TYPE:-"install"}" -if [[ "$(uname -m)" == "aarch64" ]]; then - # Allow building amd64 on aarch64, but using system toolchain only - declare -g KERNEL_COMPILER="x86_64-linux-gnu-" - declare -g UBOOT_COMPILER='x86_64-linux-gnu-' -fi +declare -g KERNEL_COMPILER="x86_64-linux-gnu-" +declare -g UBOOT_COMPILER='x86_64-linux-gnu-' true # make sure to exit with 0 status; this protects against shortcircuits etc above.