[arch-commits] Commit in sloccount/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Oct 12 22:04:10 UTC 2019
Date: Saturday, October 12, 2019 @ 22:04:09
Author: jelle
Revision: 515274
upgpkg: sloccount 2.26-9
Enable full hardening by (ab)using the CC parameter of the makefile which is
normally defined as CC="gcc -Wall" and now with our flags.
Modified:
sloccount/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-12 20:58:46 UTC (rev 515273)
+++ PKGBUILD 2019-10-12 22:04:09 UTC (rev 515274)
@@ -5,7 +5,7 @@
pkgname=sloccount
pkgver=2.26
-pkgrel=8
+pkgrel=9
pkgdesc='Tools for counting physical source lines of code'
url='https://www.dwheeler.com/sloccount/'
license=('GPL')
@@ -18,7 +18,7 @@
cd "$pkgname-$pkgver"
install -dm755 "$pkgdir/usr/bin"
- make PREFIX="$pkgdir/usr" install
+ make CC="gcc $CFLAGS $LDFLAGS $CPPFLAGS" PREFIX="$pkgdir/usr" install
mv "$pkgdir/usr/share/doc/sloccount-2.26-1" "$pkgdir/usr/share/doc/sloccount"
chmod 644 "$pkgdir/usr/share/doc/sloccount/"*
}
More information about the arch-commits
mailing list