octave: fix PIE builds

This commit is contained in:
Alessio Sergi 2016-05-13 19:24:28 +02:00
parent 445fcd403a
commit 962bbbf98c

View file

@ -1,7 +1,7 @@
# Template file for 'octave'
pkgname=octave
version=4.0.2
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="perl gcc-fortran pkg-config gnuplot"
makedepends="pcre-devel lapack-devel readline-devel libSM-devel libltdl-devel
@ -12,8 +12,8 @@ license="GPL-3"
homepage="https://gnu.org/software/octave/"
distfiles="${GNU_SITE}/octave/octave-${version}.tar.xz"
checksum=98c11ecead8ea759eb1d010ad6319a63a1c6199d3a7e2abbafe453c753090403
nocross=yes
nopie=yes
export FFLAGS="-fPIC"
# Package build options
# TODO: some options are still missing, such as java