From 299b582c243eba2ec350eefc704f7fc73095086a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 29 Jul 2022 12:06:00 +0200 Subject: core/gcc: temporary workarounds to rebuild gdc --- core/gcc/PKGBUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD index 610273fa..f344cebe 100644 --- a/core/gcc/PKGBUILD +++ b/core/gcc/PKGBUILD @@ -128,3 +128,15 @@ if [ "${CARCH}" = "i486" ]; then ' )" fi + +# solve temporary build problems around the D compiler (requires gcc=11 which no longer +# exists in the repos, installing it manually in the build section before configure) +makedepends=(${makedepends[@]//gcc-d/}) + +eval "$( + declare -f build | \ + sed ' + /cd gcc-build/ a \ + sudo pacman -d --noconfirm -S gcc-d + ' +)" -- cgit v1.2.3-70-g09d2