commit: db151e97734c6c7519ee5632619cfe288c9a34b0 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sat Sep 5 06:49:15 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sat Sep 5 07:08:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db151e97
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 <AT> gentoo.org> app-emulation/qemu/files/qemu-9999-cflags.patch | 12 ++++++++++++ app-emulation/qemu/qemu-9999.ebuild | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) 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 00000000000..1c732a453a9 --- /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 927a6f83b68..bfe6e0f0f9c 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 )
