transmission-qt: fix PIE
This commit is contained in:
parent
25c5e65617
commit
1631c147bc
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'transmission'
|
||||
pkgname=transmission
|
||||
version=2.92
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp --without-systemd-daemon"
|
||||
hostmakedepends="pkg-config intltool"
|
||||
|
@ -35,9 +35,9 @@ do_build() {
|
|||
if [ -z "$CROSS_BUILD" ]; then
|
||||
# Build the Qt frontend
|
||||
cd qt
|
||||
qmake qtr.pro
|
||||
qmake QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" qtr.pro
|
||||
lrelease translations/*.ts
|
||||
make CXXFLAGS="${CXXFLAGS} -fPIC -std=c++11" LDFLAGS="${LDFLAGS}"
|
||||
make ${makejobs} CXXFLAGS="${CXXFLAGS} -fPIC -std=c++11" LDFLAGS="${LDFLAGS}"
|
||||
fi
|
||||
}
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in New Issue