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