gpsbabel: fix PIE

See #4572
This commit is contained in:
Juergen Buchmueller 2016-09-06 15:56:24 +02:00
parent 4f2e2c6fe2
commit 0ffa58c698

View File

@ -1,7 +1,7 @@
# Template file for 'gpsbabel'
pkgname=gpsbabel
version=1.5.3
revision=1
revision=2
build_style=gnu-configure
maintainer="Philipp Hirsch <itself@hanspolo.net>"
homepage="http://www.gpsbabel.org/"
@ -22,6 +22,10 @@ do_build(){
make doc
cd gui
qmake
sed -i Makefile \
-e"s;^\(CFLAGS.*=.*\);& $CFLAGS;" \
-e"s;^\(CXXFLAGS.*=.*\);& $CXXFLAGS;" \
-e"s;^\(LFLAGS.*=.*\);& $LDFLAGS;"
make ${makejobs}
}