From c39233717a24c9f9259b10a804515744b58b2a08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 11 Sep 2016 00:50:33 +0200 Subject: [PATCH] splix: fix PIE See #4572 --- srcpkgs/splix/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/splix/template b/srcpkgs/splix/template index 9972f7364d9..f202d1dd57d 100644 --- a/srcpkgs/splix/template +++ b/srcpkgs/splix/template @@ -1,7 +1,7 @@ # Template file for 'splix-svn' pkgname=splix version=2.0.0+svn315 -revision=2 +revision=3 wrksrc="$pkgname-$version.orig" build_style=gnu-makefile makedepends="cups-devel mit-krb5-devel jbigkit-devel" @@ -14,6 +14,8 @@ checksum="578a81bd5b1b97756a539c3bb6339fd109d54419887a73e705941da8aa7fac52" CXXFLAGS=" -fno-strict-aliasing" do_build() { + sed -i rules.mk \ + -e's;$(CXX) -o;$(CXX) $(LDFLAGS) -o;' make CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \ CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP="true" drv make CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \