mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/fpc to 3.0.0-1.1
This commit is contained in:
parent
02215d9680
commit
dd9d1786db
1 changed files with 4 additions and 2 deletions
|
@ -9,11 +9,12 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - link ppcarm to /usr/bin
|
||||
# - build for armhf on v6/v7
|
||||
|
||||
pkgname=fpc
|
||||
pkgver=3.0.0
|
||||
_gdbver=7.10
|
||||
pkgrel=1
|
||||
pkgrel=1.1
|
||||
pkgdesc="The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit Pascal Compiler. It comes with fully TP 7.0 compatible run-time library."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.freepascal.org/"
|
||||
|
@ -40,10 +41,11 @@ build() {
|
|||
# patch -p1 <$srcdir/fpc-gdb.patch
|
||||
export GDBLIBDIR=${srcdir}/gdb-${_gdbver}/gdb
|
||||
export LIBGDBFILE=$GDBLIBDIR/libgdb.a
|
||||
[[ $CARCH == "armv7h" || $CARCH == "armv6h" ]] && EXTRA="OPT=-dFPC_ARMHF"
|
||||
pushd fpcsrc/compiler
|
||||
fpcmake -Tall
|
||||
popd
|
||||
make build NOGDB=1
|
||||
make build NOGDB=1 ${EXTRA}
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Reference in a new issue