mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-libs/hardened_malloc: add gcc16 support
Closes: https://bugs.gentoo.org/974723 Signed-off-by: Torben Kahnert <torben@tmak2002.dev>
This commit is contained in:
28
dev-libs/hardened_malloc/hardened_malloc-14-r1.ebuild
Normal file
28
dev-libs/hardened_malloc/hardened_malloc-14-r1.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Hardened allocator designed for modern systems."
|
||||
HOMEPAGE="https://github.com/GrapheneOS/hardened_malloc"
|
||||
SRC_URI="https://github.com/GrapheneOS/hardened_malloc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PATCHES=("${FILESDIR}/support-gcc16.patch")
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VARIANT=light
|
||||
emake VARIANT=default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so out-light/libhardened_malloc-light.so
|
||||
dolib.so out/libhardened_malloc.so
|
||||
}
|
||||
Reference in New Issue
Block a user