From 8979f7f1dc29ecf41b858724119cd5299e95b929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 22 Jun 2016 13:14:28 +0200 Subject: [PATCH] gnurobbo: fix PIE build --- srcpkgs/gnurobbo/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template index 2f0efcea2f..3fec87c876 100644 --- a/srcpkgs/gnurobbo/template +++ b/srcpkgs/gnurobbo/template @@ -1,7 +1,7 @@ # Template file for 'gnurobbo' pkgname=gnurobbo version=0.68 -revision=1 +revision=2 build_wrksrc=gnurobbo build_style=gnu-makefile hostmakedepends="pkg-config" @@ -16,6 +16,7 @@ checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8 pre_build() { sed -i Makefile \ -e "s;CFLAGS\?=.*;CFLAGS=${CFLAGS};" \ + -e "s;LDFLAGS\?=.*;LDFLAGS=${LDFLAGS};" \ -e "/LIBS=/s;\(.*\);\1 -lm;" }