erlang: fix PIE.

This commit is contained in:
Christian Neukirchen 2016-05-24 14:58:44 +02:00
parent 53c520edb6
commit 116c2d4fb7
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'erlang' # Template file for 'erlang'
pkgname=erlang pkgname=erlang
version=18.3 version=18.3
revision=2 revision=3
wrksrc=otp_src_${version} wrksrc=otp_src_${version}
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-smp-support" configure_args="--enable-smp-support"
@ -28,7 +28,9 @@ pre_configure() {
export erl_xcomp_sysroot=/usr/${XBPS_CROSS_TRIPLET} export erl_xcomp_sysroot=/usr/${XBPS_CROSS_TRIPLET}
fi fi
} }
post_configure() {
sed -i '/LDFLAGS =/s/=/+=/' lib/odbc/c_src/*/Makefile
}
post_install() { post_install() {
vmkdir usr/share/man vmkdir usr/share/man
vmkdir usr/lib/erlang/man vmkdir usr/lib/erlang/man