summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-09-05 07:49:15 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-09-05 08:08:15 +0100
commitdb151e97734c6c7519ee5632619cfe288c9a34b0 (patch)
tree7b6e9ac2120b34200c259d07fa600ef012777db1 /app-emulation
parentapp-emulation/qemu: drop outdated mkdir_systemtap.patch patch (diff)
downloadgentoo-db151e97734c6c7519ee5632619cfe288c9a34b0.tar.gz
gentoo-db151e97734c6c7519ee5632619cfe288c9a34b0.tar.bz2
gentoo-db151e97734c6c7519ee5632619cfe288c9a34b0.zip
app-emulation/qemu: refresh cflags.patch patch
Reported-by: Darren Blaber Bug: https://bugs.gentoo.org/740386 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu/files/qemu-9999-cflags.patch12
-rw-r--r--app-emulation/qemu/qemu-9999.ebuild2
2 files changed, 13 insertions, 1 deletions
diff --git a/app-emulation/qemu/files/qemu-9999-cflags.patch b/app-emulation/qemu/files/qemu-9999-cflags.patch
new file mode 100644
index 000000000000..1c732a453a91
--- /dev/null
+++ b/app-emulation/qemu/files/qemu-9999-cflags.patch
@@ -0,0 +1,12 @@
+--- a/configure
++++ b/configure
+@@ -6349,9 +6349,6 @@ if test "$debug_info" = "yes"; then
+ CFLAGS="-g $CFLAGS"
+ LDFLAGS="-g $LDFLAGS"
+ fi
+-if test "$debug" = "no"; then
+- CFLAGS="-O2 $CFLAGS"
+-fi
+
+ case "$ARCH" in
+ alpha)
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild
index 927a6f83b68e..bfe6e0f0f9c8 100644
--- a/app-emulation/qemu/qemu-9999.ebuild
+++ b/app-emulation/qemu/qemu-9999.ebuild
@@ -223,7 +223,7 @@ RDEPEND="${CDEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch
- "${FILESDIR}"/${PN}-4.2.0-cflags.patch
+ "${FILESDIR}"/${PN}-9999-cflags.patch
"${FILESDIR}"/${PN}-5.1.0-pixman-for-vhost-user-gpu.patch
)