mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
octave: remove references to hardening -specs
This commit is contained in:
parent
4539da3e93
commit
72f2179c39
1 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'octave'
|
# Template file for 'octave'
|
||||||
pkgname=octave
|
pkgname=octave
|
||||||
version=4.2.1
|
version=4.2.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="perl gcc-fortran pkg-config gnuplot"
|
hostmakedepends="perl gcc-fortran pkg-config gnuplot"
|
||||||
makedepends="pcre-devel lapack-devel readline-devel libSM-devel libltdl-devel
|
makedepends="pcre-devel lapack-devel readline-devel libSM-devel libltdl-devel
|
||||||
|
@ -13,8 +13,6 @@ homepage="https://gnu.org/software/octave/"
|
||||||
distfiles="${GNU_SITE}/octave/octave-${version}.tar.gz"
|
distfiles="${GNU_SITE}/octave/octave-${version}.tar.gz"
|
||||||
checksum=80c28f6398576b50faca0e602defb9598d6f7308b0903724442c2a35a605333b
|
checksum=80c28f6398576b50faca0e602defb9598d6f7308b0903724442c2a35a605333b
|
||||||
|
|
||||||
export FFLAGS="-fPIC"
|
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
# TODO: some options are still missing, such as java
|
# TODO: some options are still missing, such as java
|
||||||
build_options="
|
build_options="
|
||||||
|
@ -74,3 +72,8 @@ makedepends+="
|
||||||
pre_build() {
|
pre_build() {
|
||||||
chmod +x build-aux/mk-opts.pl
|
chmod +x build-aux/mk-opts.pl
|
||||||
}
|
}
|
||||||
|
post_build() {
|
||||||
|
# Remove references to hardening -specs.
|
||||||
|
sed -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" \
|
||||||
|
-i src/mkoctfile.cc libinterp/build-env.cc
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue