Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-06-16 17:28:59 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-06-16 17:28:59 +0200
commit5fd165213053cbb71927270a34b19403d4e390ce (patch)
treeb3afd3c45811b4c5b5ea2ebd8171090d13e7dc76 /extra
parentc9edcbedf149ff3881523ee1475d8d4c7a7bb84c (diff)
extra/protobuf: no LTO on 486
Diffstat (limited to 'extra')
-rw-r--r--extra/protobuf/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/protobuf/PKGBUILD b/extra/protobuf/PKGBUILD
index 2e13a8c5..3d825fe1 100644
--- a/extra/protobuf/PKGBUILD
+++ b/extra/protobuf/PKGBUILD
@@ -7,3 +7,10 @@ eval "$(
'
)
"
+
+# no LTO on i486
+if [ "$CARCH" = 'i486' ]; then
+ sed -i '
+ 1i options=(!lto)
+ ' PKGBUILD
+fi