summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-06-18 17:01:37 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-06-18 17:01:37 -0700
commit4adf2cb60eaf82c4caf2cb2fdcc6aed910bcb775 (patch)
tree5a036a971e35073f150052b35bbe96212ff295d2
parentUpdated to 7 (diff)
downloadhardened-malloc-4adf2cb60eaf82c4caf2cb2fdcc6aed910bcb775.tar.xz
Updated to 8
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0abfa99..a84a8e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=hardened-malloc
_altname=hardened_malloc
-pkgver=7
+pkgver=8
pkgrel=1
pkgdesc="Hardened allocator designed for modern systems"
arch=('x86_64' 'aarch64')
@@ -17,22 +17,27 @@ depends=('gcc-libs')
makedepends=('git')
checkdepends=('python')
provides=('libhardened_malloc.so')
+options=(!makeflags)
source=("git+https://github.com/GrapheneOS/${_altname}#tag=$pkgver?signed")
b2sums=('SKIP')
validpgpkeys=('65EEFE022108E2B708CBFCF7F9E712E59AF5F22A') # Daniel Micay <danielmicay@gmail.com>
build() {
cd "${_altname}"
+
make
}
check() {
cd "${_altname}"
- make CONFIG_WERROR=false test
+
+ # tests fail if CPPFLAGS is not set
+ CPPFLAGS="" make CONFIG_WERROR=false test
}
package() {
cd "${_altname}"
+
install -Dm755 --target-directory="$pkgdir/usr/lib" libhardened_malloc.so
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}