summaryrefslogtreecommitdiff
path: root/extra/extra-cmake-modules
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-07-05 13:36:56 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-07-05 13:36:56 +0200
commit8576be27a37151371905971063aa008b0b1eaa56 (patch)
tree6c87dfe12c3d1903cbf3abd8a59ba13cc501a1b4 /extra/extra-cmake-modules
parent81ea46923a51240ed9ef350ada6cbd88124ebb2d (diff)
downloadpackages-8576be27a37151371905971063aa008b0b1eaa56.tar.xz
extra/extra-cmake-modules: patching ld warning fatal always
Diffstat (limited to 'extra/extra-cmake-modules')
-rw-r--r--extra/extra-cmake-modules/PKGBUILD17
1 files 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
+ '
+)"