mumble: fix PIE

See #4572
This commit is contained in:
Juergen Buchmueller 2016-09-04 02:11:56 +02:00
parent 3d99d5ebff
commit a7baf75984
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mumble'
pkgname=mumble
version=1.2.16
revision=1
revision=2
hostmakedepends="pkg-config"
makedepends="
libcap-devel Ice-devel protobuf-devel libXi-devel qt-devel libressl-devel
@ -21,9 +21,13 @@ do_configure() {
CONFIG+="bundled-celt no-bundled-opus no-speechd no-bundled-speex no-g15 \
no-xevie pulseaudio no-embed-qt-translations no-update-packaged" \
DEFINES+="PLUGIN_PATH=/usr/lib/mumble" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
# qmake-qt4 ignores CXXFLAGS and LDFLAGS thus patch the Makefiles
sed -i */Makefile* */*/Makefile* \
-e "s;^\(LFLAGS.*=.*\);& $LDFLAGS;" \
-e "s;^\(CXXFLAGS.*=.*\);& $CXXFLAGS;"
}
do_build() {
make release
make ${makejobs} release
}
do_install() {
vlicense LICENSE