]> TLD Linux GIT Repositories - packages/qemu.git/blobdiff - qemu-no-fortify.patch
- updated to 8.1.3
[packages/qemu.git] / qemu-no-fortify.patch
diff --git a/qemu-no-fortify.patch b/qemu-no-fortify.patch
deleted file mode 100644 (file)
index ed6f0e8..0000000
+++ /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"