diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-01-07 15:08:59 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-01-07 15:08:59 +0100 |
commit | 74d2f6ecbd25e398d8e618b1ba3b8b1df8baefe5 (patch) | |
tree | c7ddc46dc8b4d648a7d34903ab0832d9fce63c09 /community/cpulimit | |
parent | d5d6c758f4c060d2f5a26435fd3a3e8a660d5af8 (diff) |
Rebuilds for lib32.
Manually run the compiler instead of using trivial Makefiles, to
respect user's CFLAGS.
Diffstat (limited to 'community/cpulimit')
-rw-r--r-- | community/cpulimit/PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
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 } |