From 3674a848e7e22e1a014e8fbe7fd8fb808e16e4a1 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 24 May 2016 13:12:56 +0200 Subject: [PATCH] blktrace: fix PIE. --- srcpkgs/blktrace/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/blktrace/template b/srcpkgs/blktrace/template index 71166c0a306..6c0e7fd5137 100644 --- a/srcpkgs/blktrace/template +++ b/srcpkgs/blktrace/template @@ -1,7 +1,7 @@ # Template file for 'blktrace' pkgname=blktrace version=1.1.0 -revision=1 +revision=2 build_style=gnu-makefile make_install_args="prefix=/usr mandir=/usr/share/man" makedepends="libaio-devel" @@ -11,3 +11,7 @@ license="GPL-2" homepage="http://brick.kernel.dk/" distfiles="http://brick.kernel.dk/snaps/${pkgname}-${version}.tar.bz2" checksum=54a2faaa06dd52fd4a56a6aafa2a251990eb8dcf1832bb8c2fb1fc13a74a9295 + +post_extract() { + sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile */Makefile +}