Openembedded Core Discussions
 help / color / mirror / Atom feed
* [oe-core][PATCH 1/1] qemu: force target build type to production
@ 2020-05-29 21:24 Joe Slater
  2020-05-31  9:39 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Slater @ 2020-05-29 21:24 UTC (permalink / raw)
  To: openembedded-core; +Cc: joe.slater, randy.macleod

qemu will not build for -Og optimization because macros
in lockable.h do not work as expected.  Override DEBUG_BUILD.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
---
 meta/recipes-devtools/qemu/qemu_4.2.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/qemu/qemu_4.2.0.bb b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
index a4018cc448..90b230d62f 100644
--- a/meta/recipes-devtools/qemu/qemu_4.2.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
@@ -10,6 +10,10 @@ DEPENDS = "glib-2.0 zlib pixman bison-native"
 
 RDEPENDS_${PN}_class-target += "bash"
 
+# Does not compile for -Og
+#
+DEBUG_BUILD_class-target = "0"
+
 EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
 EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
 EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-31 18:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-29 21:24 [oe-core][PATCH 1/1] qemu: force target build type to production Joe Slater
2020-05-31  9:39 ` Richard Purdie
2020-05-31 18:21   ` Joe Slater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox