diff --git a/plugins/test/meson.build b/plugins/test/meson.build index 7f07a596c..53e74f4e7 100644 --- a/plugins/test/meson.build +++ b/plugins/test/meson.build @@ -1,4 +1,8 @@ -cargs = ['-DG_LOG_DOMAIN="FuPluginTest"'] +# See https://github.com/hughsie/fwupd/issues/472 +# for more details why this is compiled with -O0 +# revert it after conclusion to +# https://bugs.launchpad.net/fwupd/+bug/D1765134 +cargs = ['-DG_LOG_DOMAIN="FuPluginTest"','-O0'] install_dummy = false if get_option('plugin_dummy') diff --git a/plugins/upower/meson.build b/plugins/upower/meson.build index 9d027744b..c6a704f28 100644 --- a/plugins/upower/meson.build +++ b/plugins/upower/meson.build @@ -1,4 +1,8 @@ -cargs = ['-DG_LOG_DOMAIN="FuPluginUpower"'] +# See https://github.com/hughsie/fwupd/issues/472 +# for more details why this is compiled with -O0 +# revert it after conclusion to +# https://bugs.launchpad.net/fwupd/+bug/1765134 +cargs = ['-DG_LOG_DOMAIN="FuPluginUpower"','-O0'] shared_module('fu_plugin_upower', sources : [