diff options
Diffstat (limited to 'recipes-extended')
-rw-r--r-- | recipes-extended/libvirt/libvirt_6.1.0.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-extended/libvirt/libvirt_6.1.0.bb b/recipes-extended/libvirt/libvirt_6.1.0.bb index 15f33aad..7b109204 100644 --- a/recipes-extended/libvirt/libvirt_6.1.0.bb +++ b/recipes-extended/libvirt/libvirt_6.1.0.bb | |||
@@ -375,6 +375,11 @@ EXTRA_OECONF += " \ | |||
375 | --with-test-suite \ | 375 | --with-test-suite \ |
376 | " | 376 | " |
377 | 377 | ||
378 | # gcc9 end up mis-compiling qemuxml2argvtest.o with Og which then | ||
379 | # crashes on target, so remove -Og and use -O2 as workaround | ||
380 | SELECTED_OPTIMIZATION_remove_virtclass-multilib-lib32_mipsarch = "-Og" | ||
381 | SELECTED_OPTIMIZATION_append_virtclass-multilib-lib32_mipsarch = " -O2" | ||
382 | |||
378 | EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH} SYSTEMD_UNIT_DIR=${systemd_system_unitdir}" | 383 | EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH} SYSTEMD_UNIT_DIR=${systemd_system_unitdir}" |
379 | 384 | ||
380 | PRIVATE_LIBS_${PN}-ptest_append = "libvirt-admin.so.0" | 385 | PRIVATE_LIBS_${PN}-ptest_append = "libvirt-admin.so.0" |