summary refs log tree commit diff stats
path: root/tests/qemu-iotests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/meson.build')
-rw-r--r--tests/qemu-iotests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
index 9735071a29..44761e1e4d 100644
--- a/tests/qemu-iotests/meson.build
+++ b/tests/qemu-iotests/meson.build
@@ -2,7 +2,7 @@ if not have_tools or targetos == 'windows' or get_option('gprof')
   subdir_done()
 endif
 
-foreach cflag: config_host['QEMU_CFLAGS'].split()
+foreach cflag: qemu_ldflags
   if cflag.startswith('-fsanitize') and \
      not cflag.contains('safe-stack') and not cflag.contains('cfi-icall')
     message('Sanitizers are enabled ==> Disabled the qemu-iotests.')