From 74d2f6ecbd25e398d8e618b1ba3b8b1df8baefe5 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Sat, 7 Jan 2012 15:08:59 +0100 Subject: Rebuilds for lib32. Manually run the compiler instead of using trivial Makefiles, to respect user's CFLAGS. --- community/cpulimit/PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'community/cpulimit') diff --git a/community/cpulimit/PKGBUILD b/community/cpulimit/PKGBUILD index 6cebcda00..bd8d6a085 100644 --- a/community/cpulimit/PKGBUILD +++ b/community/cpulimit/PKGBUILD @@ -4,7 +4,7 @@ pkgname=cpulimit pkgver=1.1 -pkgrel=2 +pkgrel=2.1 pkgdesc="Limit cpu usage in %. Actualy sends SIGSTOP/SIGCONT" arch=('i686' 'x86_64' 'mips64el') url="http://cpulimit.sourceforge.net/" @@ -15,6 +15,8 @@ md5sums=('f4ff6d4bfaef1258e8f5cd2041e2e2a3') build() { cd $startdir/src/$pkgname-$pkgver - make + # The included trivial Makefile ignores CFLAGS and LDFLAGS, so + # running the compiler manually here. + ${CC:-gcc} ${LDFLAGS} ${CFLAGS} -o cpulimit cpulimit.c -lrt install -D -m0755 cpulimit $startdir/pkg/usr/bin/cpulimit } -- cgit v1.2.3-54-g00ecf