tracker: fix PIE

See #4572
This commit is contained in:
Juergen Buchmueller 2016-08-20 21:17:49 +02:00
parent 3ce9514492
commit e8422cca0c
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'tracker' # Template file for 'tracker'
pkgname=tracker pkgname=tracker
version=1.6.1 version=1.6.1
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-libflac --enable-libvorbis --disable-unit-tests configure_args="--enable-libflac --enable-libvorbis --disable-unit-tests
--enable-libtiff --disable-static --enable-network-manager --enable-libtiff --disable-static --enable-network-manager
@ -31,6 +31,10 @@ if [ -z "$CROSS_BUILD" ]; then
fi fi
pre_configure() { pre_configure() {
# Set AM_LDFLAGS in subdir's Makefile.am because adding the
# option subdir-objects to configure.ac does not work.
sed -e"/^AM_CPPFLAGS/i AM_LDFLAGS = ${LDFLAGS}" \
-i src/*/Makefile.am src/*/*/Makefile.am
autoreconf -fi autoreconf -fi
} }