X-Git-Url: https://git.tld-linux.org/?p=packages%2Fqemu.git;a=blobdiff_plain;f=qemu-no-fortify.patch;fp=qemu-no-fortify.patch;h=0000000000000000000000000000000000000000;hp=ed6f0e85e4dad167ba8771db52eda5fdceb80798;hb=9b272b11df3351f18b75ea14155693543a5b4108;hpb=a7e785922160fb6314b1a11d5e68ecc15f06b3ec diff --git a/qemu-no-fortify.patch b/qemu-no-fortify.patch deleted file mode 100644 index ed6f0e8..0000000 --- a/qemu-no-fortify.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -ur qemu-8.0.3.orig/configure qemu-8.0.3/configure ---- qemu-8.0.3.orig/configure 2023-07-22 14:25:13.756890443 +0200 -+++ qemu-8.0.3/configure 2023-07-22 14:25:40.988278232 +0200 -@@ -278,7 +278,6 @@ - debug_tcg="no" - sanitizers="no" - tsan="no" --fortify_source="yes" - EXESUF="" - modules="no" - prefix="/usr/local" -@@ -809,7 +808,6 @@ - meson_option_parse --enable-debug-graph-lock "" - meson_option_parse --enable-debug-mutex "" - meson_option_add -Doptimization=0 -- fortify_source="no" - ;; - --enable-sanitizers) sanitizers="yes" - ;; -@@ -1718,20 +1716,6 @@ - ccache_cpp2=yes - fi - --################################################# --# clang does not support glibc + FORTIFY_SOURCE. -- --if test "$fortify_source" != "no"; then -- if echo | $cc -dM -E - | grep __clang__ > /dev/null 2>&1 ; then -- fortify_source="no"; -- elif test -n "$cxx" && has $cxx && -- echo | $cxx -dM -E - | grep __clang__ >/dev/null 2>&1 ; then -- fortify_source="no"; -- else -- fortify_source="yes" -- fi --fi -- - ########################################## - # checks for sanitizers - -@@ -2234,10 +2218,6 @@ - - write_c_skeleton - --if test "$fortify_source" = "yes" ; then -- QEMU_CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $QEMU_CFLAGS" --fi -- - if test "$have_asan" = "yes"; then - QEMU_CFLAGS="-fsanitize=address $QEMU_CFLAGS" - QEMU_LDFLAGS="-fsanitize=address $QEMU_LDFLAGS"