commit: d00074052481cbb468d930cc42caeaa6990d1987 Author: NRK <nrk <AT> disroot <DOT> org> AuthorDate: Sat Feb 24 15:46:14 2024 +0000 Commit: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org> CommitDate: Mon Feb 26 17:45:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0007405
app-arch/7zip: disable executable stack when using uasm Signed-off-by: NRK <nrk <AT> disroot.org> app-arch/7zip/7zip-23.01.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-arch/7zip/7zip-23.01.ebuild b/app-arch/7zip/7zip-23.01.ebuild index 7fe4ad21c1..414d6e33be 100644 --- a/app-arch/7zip/7zip-23.01.ebuild +++ b/app-arch/7zip/7zip-23.01.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit edos2unix toolchain-funcs +inherit edos2unix toolchain-funcs flag-o-matic NO_DOT_PV=$(ver_rs 1- '') DESCRIPTION="A free file archiver for extremely high compression" @@ -21,7 +21,6 @@ RESTRICT="mirror" RDEPEND="" DEPEND="${RDEPEND}" -# TODO: disable executable stack when asm is used BDEPEND=" uasm? ( dev-lang/uasm ) jwasm? ( dev-lang/jwasm ) @@ -61,6 +60,7 @@ src_prepare() { src_compile() { pushd "./Bundles/Alone2" || die "Unable to switch directory" + append-ldflags -Wl,-z,noexecstack export G_CC=$(tc-getCC) export G_CXX=$(tc-getCXX) export G_CFLAGS=${CFLAGS}