From 7dac2b28cc1037b9500f26122a4a772b96ad709c Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Wed, 25 May 2016 09:56:40 -0400 Subject: [PATCH] cpulimit: use CFLAGS and LDFLAGS --- srcpkgs/cpulimit/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cpulimit/template b/srcpkgs/cpulimit/template index 7434b630d6f..7ac8cf968e9 100644 --- a/srcpkgs/cpulimit/template +++ b/srcpkgs/cpulimit/template @@ -1,7 +1,7 @@ # Template file for 'cpulimit' pkgname=cpulimit version=0.2 -revision=1 +revision=2 build_style=gnu-makefile short_desc="Tool to limit the CPU usage of a process" maintainer="Steve Prybylski " @@ -10,6 +10,10 @@ homepage="https://github.com/opsengine/cpulimit" distfiles="https://github.com/opsengine/${pkgname}/archive/v${version}.tar.gz" checksum=64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da +pre_build() { + export CFLAGS="$CFLAGS $LDFLAGS" +} + do_install() { vbin src/cpulimit }