smplayer: fix PIE
This commit is contained in:
parent
ba4a876dca
commit
acf716fc8d
1 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue