1 diff -ur qemu-8.0.3.orig/configure qemu-8.0.3/configure
2 --- qemu-8.0.3.orig/configure 2023-07-22 14:25:13.756890443 +0200
3 +++ qemu-8.0.3/configure 2023-07-22 14:25:40.988278232 +0200
13 meson_option_parse --enable-debug-graph-lock ""
14 meson_option_parse --enable-debug-mutex ""
15 meson_option_add -Doptimization=0
18 --enable-sanitizers) sanitizers="yes"
20 @@ -1718,20 +1716,6 @@
24 -#################################################
25 -# clang does not support glibc + FORTIFY_SOURCE.
27 -if test "$fortify_source" != "no"; then
28 - if echo | $cc -dM -E - | grep __clang__ > /dev/null 2>&1 ; then
29 - fortify_source="no";
30 - elif test -n "$cxx" && has $cxx &&
31 - echo | $cxx -dM -E - | grep __clang__ >/dev/null 2>&1 ; then
32 - fortify_source="no";
34 - fortify_source="yes"
38 ##########################################
39 # checks for sanitizers
41 @@ -2234,10 +2218,6 @@
45 -if test "$fortify_source" = "yes" ; then
46 - QEMU_CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $QEMU_CFLAGS"
49 if test "$have_asan" = "yes"; then
50 QEMU_CFLAGS="-fsanitize=address $QEMU_CFLAGS"
51 QEMU_LDFLAGS="-fsanitize=address $QEMU_LDFLAGS"