mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/fpc to 3.2.2-2
This commit is contained in:
parent
98840bbf80
commit
50e0b75e29
1 changed files with 3 additions and 1 deletions
|
@ -9,10 +9,11 @@
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - link ppcarm/ppca64 to /usr/bin
|
# - link ppcarm/ppca64 to /usr/bin
|
||||||
# - build for armhf on v6/v7
|
# - build for armhf on v6/v7
|
||||||
|
# - comment adding lto to cflags
|
||||||
|
|
||||||
pkgname=fpc
|
pkgname=fpc
|
||||||
pkgver=3.2.2
|
pkgver=3.2.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Free Pascal Compiler, Turbo Pascal 7.0 and Delphi compatible."
|
pkgdesc="Free Pascal Compiler, Turbo Pascal 7.0 and Delphi compatible."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.freepascal.org/"
|
url="http://www.freepascal.org/"
|
||||||
|
@ -27,6 +28,7 @@ sha512sums=('75889bb54adc70a6e2cbd291476b9b12d61c8f943a05b7d16d2024de3215c935465
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir"/fpcbuild-$pkgver
|
cd "$srcdir"/fpcbuild-$pkgver
|
||||||
|
#export CFLAGS="$CFLAGS -ffat-lto-objects"
|
||||||
[[ $CARCH == "armv7h" || $CARCH == "armv6h" ]] && EXTRA="OPT=-dFPC_ARMHF"
|
[[ $CARCH == "armv7h" || $CARCH == "armv6h" ]] && EXTRA="OPT=-dFPC_ARMHF"
|
||||||
pushd fpcsrc/compiler
|
pushd fpcsrc/compiler
|
||||||
fpcmake -Tall
|
fpcmake -Tall
|
||||||
|
|
Loading…
Reference in a new issue