From 8576be27a37151371905971063aa008b0b1eaa56 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 5 Jul 2019 13:36:56 +0200 Subject: extra/extra-cmake-modules: patching ld warning fatal always --- extra/extra-cmake-modules/PKGBUILD | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/extra/extra-cmake-modules/PKGBUILD b/extra/extra-cmake-modules/PKGBUILD index fa60d6a2..dd1e010e 100644 --- a/extra/extra-cmake-modules/PKGBUILD +++ b/extra/extra-cmake-modules/PKGBUILD @@ -2,13 +2,10 @@ source+=('extra-cmake-modules-5.59.0-ld-no-fatal-warning.patch') sha256sums+=('045ec564ffacfffcc6ea1f6b7dc74860d0c51a8f85e93beec7e27d1fdbe97de7') -# 686-specific -if [ "${CARCH}" = "i686" ]; then - eval "$( - declare -f prepare | \ - sed ' - /.*patch.*/ a \ - patch -Np1 -i ../extra-cmake-modules-5.59.0-ld-no-fatal-warning.patch - ' - )" -fi +eval "$( + declare -f prepare | \ + sed ' + /.*patch.*/ a \ + patch -Np1 -i ../extra-cmake-modules-5.59.0-ld-no-fatal-warning.patch + ' +)" -- cgit v1.2.3-70-g09d2