From 5fd165213053cbb71927270a34b19403d4e390ce Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 16 Jun 2022 17:28:59 +0200 Subject: extra/protobuf: no LTO on 486 --- extra/protobuf/PKGBUILD | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extra/protobuf') 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 -- cgit v1.2.3-70-g09d2