From 55f85c27b7abf93c931eb2348851fda2ce2169ba Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 15 Mar 2020 08:00:23 +0100 Subject: core/binutils: - removed --with-debuginfod, fails with "configure: error: debuginfod is missing or unusable" - removed --enable-targets=x86_64-pep (we don't develop 64-bit EFI binaries on 32-bit) - removed --enable-64-bit-bfd for non-64-bit targets --- core/binutils/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD index 71467e4b..9e9b625c 100644 --- a/core/binutils/PKGBUILD +++ b/core/binutils/PKGBUILD @@ -26,6 +26,31 @@ eval "$( ' )" +# "configure: error: debuginfod is missing or unusable" +eval "$( + declare -f build | \ + sed ' + s/--with-debuginfod//g + ' +)" + +# should be in a cross-compilation binutils for targeting EFI binaries IMHO, +# not in the main platform binutils (see also https://bugs.archlinux.org/task/42540) +eval "$( + declare -f build | \ + sed ' + s/--enable-targets=x86_64-pep//g + ' +)" + +# --enable-64-bit-bfd makes sense only for 64-bit targets IMHO +eval "$( + declare -f build | \ + sed ' + s/--enable-64-bit-bfd//g + ' +)" + # i486-specific if [ "${CARCH}" = "i486" ]; then # disable CET (Control Flow instructions endbr32/enbr64) -- cgit v1.2.3-70-g09d2