smplayer: fix PIE

This commit is contained in:
Alessio Sergi 2017-02-03 23:57:26 +01:00
parent ba4a876dca
commit acf716fc8d

View file

@ -1,8 +1,7 @@
# Template file for 'smplayer' # Template file for 'smplayer'
pkgname=smplayer pkgname=smplayer
version=17.2.0 version=17.2.0
revision=1 revision=2
nopie=yes
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="qt5-host-tools qt5-tools qt5-script-devel" hostmakedepends="qt5-host-tools qt5-tools qt5-script-devel"
makedepends="zlib-devel qt5-script-devel qt5-tools-devel" makedepends="zlib-devel qt5-script-devel qt5-tools-devel"
@ -20,5 +19,5 @@ pre_build() {
sed -i 's|DOC_PATH=$(PREFIX)/share/doc/packages/smplayer|DOC_PATH=$(PREFIX)/share/doc/smplayer|' Makefile sed -i 's|DOC_PATH=$(PREFIX)/share/doc/packages/smplayer|DOC_PATH=$(PREFIX)/share/doc/smplayer|' Makefile
} }
do_build() { do_build() {
make ${makejobs} CC="$CC" CXX="$CXX" LINK="$CXX" LD="$CXX" make ${makejobs} CC="$CC" CXX="$CXX" LINK="$CXX" LD="$CXX" CFLAGS_EXTRA="$CFLAGS $LDFLAGS"
} }