summaryrefslogtreecommitdiff
path: root/community/botan/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-18 10:49:51 +0200
committerErich Eckner <git@eckner.net>2018-10-18 10:49:51 +0200
commit2a30eba45bb7672693d456ff23ca35cb7a27a5be (patch)
treed45fb732da25c09806cfb0cd392cfbac220951f5 /community/botan/PKGBUILD
parenta591dd7b460fc27a103d434a1f8ecc30a5c180b0 (diff)
downloadpackages-2a30eba45bb7672693d456ff23ca35cb7a27a5be.tar.xz
community/botan: remove non-functional sed, add --cpu=i686 to avoid auto-detection bug on i486
Diffstat (limited to 'community/botan/PKGBUILD')
-rw-r--r--community/botan/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/community/botan/PKGBUILD b/community/botan/PKGBUILD
index ef400383..937eee9b 100644
--- a/community/botan/PKGBUILD
+++ b/community/botan/PKGBUILD
@@ -1 +1,6 @@
-eval "$(declare -f build | sed "s|python.*;|\0\n sed -i 's@-O3@-O2@g' Makefile;|")"
+eval "$(
+ declare -f build | \
+ sed '
+ s,/configure\.py ,\0--cpu=i686 ,
+ '
+)"