From 67979e383b262eeba9f6ae5809cf7cf4d25a6cb7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 3 Apr 2015 12:02:51 +0200 Subject: [PATCH] duperemove: build with our {C,LD}FLAGS; enable build_pie. --- srcpkgs/duperemove/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template index d87d303f700..5f892d5bf66 100644 --- a/srcpkgs/duperemove/template +++ b/srcpkgs/duperemove/template @@ -1,7 +1,8 @@ # Template file for 'duperemove' pkgname=duperemove version=0.09.2 -revision=1 +revision=2 +build_pie=yes build_style=gnu-makefile short_desc="Tools for deduping file systems" maintainer="Enno Boland " @@ -11,3 +12,7 @@ license="GPL-2" homepage="https://github.com/markfasheh/duperemove" distfiles="https://github.com/markfasheh/duperemove/archive/v$version.tar.gz" checksum=2f7155bb916f4827a940c7ceb16c785b529320e621d3c7cbbd78639a06e65094 + +do_build() { + make CC=$CC CFLAGS="$CFLAGS $LDFLAGS" +}