mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
app-emulation/qemu: fix safe-stack feature detection
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
If SafeStack fails to build it should be disabled, not enabled.
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -4956,7 +4956,7 @@ if test "$safe_stack" = "no"; then
|
||||
fi
|
||||
else # "$safe_stack" = ""
|
||||
# Set safe_stack to yes or no based on pre-existing flags
|
||||
- if compile_prog "-Werror" ""; then
|
||||
+ if ! compile_prog "-Werror" ""; then
|
||||
safe_stack="no"
|
||||
else
|
||||
safe_stack="yes"
|
||||
@@ -225,6 +225,7 @@ RDEPEND="${CDEPEND}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch
|
||||
"${FILESDIR}"/${PN}-5.2.0-safe-stack.patch
|
||||
)
|
||||
|
||||
QA_PREBUILT="
|
||||
|
||||
Reference in New Issue
Block a user