summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2025-04-15 01:31:05 -0400
committerIonen Wolkens <ionen@gentoo.org>2025-04-15 01:41:44 -0400
commitb2a26e9d7a8bb0a747e00ca1e28b5ad085eb9ae8 (patch)
treef25bcf71f3bbc3c5ceadc485c7ef1fcebbc3af97 /dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
parent8118d39d958e70e4f0c3d9afe929aabcfe393b1a (diff)
downloadgentoo-b2a26e9d7a8bb0a747e00ca1e28b5ad085eb9ae8.tar.gz
gentoo-b2a26e9d7a8bb0a747e00ca1e28b5ad085eb9ae8.tar.bz2
gentoo-b2a26e9d7a8bb0a747e00ca1e28b5ad085eb9ae8.zip
dev-qt/qtwebengine: ensure execstack is disabled
On second thought, think would rather ensure that this is disabled even if do not know how it happened in the first place, especially given chromium itself relies on noexecstack rather than notes, but then qtwebengine does not pass it for the final linking phase. Believe this is only an issue for qtwebengine with its multitude of asm files that may or may not be used, so not doing it in the eclass. Not revbumping given it seems to only happen in edge cases, but may as well get this done before stable 6.8.3 so that if glibc-2.41 is stabled later it'll ensure it's fine for them. Closes: https://bugs.gentoo.org/953111 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/qtwebengine-6.9999.ebuild')
-rw-r--r--dev-qt/qtwebengine/qtwebengine-6.9999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
index 1a65a1e73f68..e39783175f0f 100644
--- a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
@@ -251,6 +251,10 @@ src_configure() {
use arm64 && tc-is-gcc && filter-flags '-march=*' '-mcpu=*'
fi
+ # chromium passes this by default, but qtwebengine does not and it may
+ # "possibly" get enabled by some paths and cause issues (bug #953111)
+ append-ldflags -Wl,-z,noexecstack
+
export NINJAFLAGS=$(get_NINJAOPTS)
[[ ${NINJA_VERBOSE^^} == OFF ]] || NINJAFLAGS+=" -v"