community/fpc to 3.2.2-2

This commit is contained in:
Kevin Mihelich 2022-01-21 19:35:38 +00:00
parent 98840bbf80
commit 50e0b75e29

View file

@ -9,10 +9,11 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - 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