From 50e0b75e2931cf9b9c06d531ce6481f6d17eb17d Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 21 Jan 2022 19:35:38 +0000 Subject: [PATCH] community/fpc to 3.2.2-2 --- community/fpc/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/community/fpc/PKGBUILD b/community/fpc/PKGBUILD index b2777ff78..34f514e97 100644 --- a/community/fpc/PKGBUILD +++ b/community/fpc/PKGBUILD @@ -9,10 +9,11 @@ # ALARM: Kevin Mihelich # - link ppcarm/ppca64 to /usr/bin # - build for armhf on v6/v7 +# - comment adding lto to cflags pkgname=fpc pkgver=3.2.2 -pkgrel=1 +pkgrel=2 pkgdesc="Free Pascal Compiler, Turbo Pascal 7.0 and Delphi compatible." arch=('x86_64') url="http://www.freepascal.org/" @@ -27,6 +28,7 @@ sha512sums=('75889bb54adc70a6e2cbd291476b9b12d61c8f943a05b7d16d2024de3215c935465 build() { cd "$srcdir"/fpcbuild-$pkgver + #export CFLAGS="$CFLAGS -ffat-lto-objects" [[ $CARCH == "armv7h" || $CARCH == "armv6h" ]] && EXTRA="OPT=-dFPC_ARMHF" pushd fpcsrc/compiler fpcmake -Tall