makedeb


hardened-malloc-light 11-1


Hardened memory allocator from GraphaneOS project - Optimized to minimize breakages

Click here to go back to the commit logs for hardened-malloc-light.

Commit:


Hash: 87ebb39addb3e62f99c075369c1daf12dbbe14b9

Message: update

Diff


diff --git a/PKGBUILD b/PKGBUILD
index 6effd0f..558e808 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ sha256sums=('14331990899b91f9323230c280d66f0d1a77c386eb5d206d4cd0d8b5683098da')
 
 build() {
 	cd hardened_malloc-${pkgver}
-	make -j$(nproc)
+	make -j$(nproc) VARIANT=light
 }
 
 package() {
@@ -23,5 +23,5 @@ package() {
 
 	echo "/usr/local/lib/libhardened_malloc.so" > "${pkgdir}/etc/ld.so.conf.d/hardened_malloc.conf"
 	echo "vm.max_map_count = 1048576" > "${pkgdir}/etc/sysctl.d/hardened_malloc.conf"
-	install -Dm775 out/libhardened_malloc.so "${pkgdir}/usr/local/lib/"
+	install -Dm775 out-light/libhardened_malloc-light.so "${pkgdir}/usr/local/lib/"
 }