summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-04-20 17:33:38 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-28 08:51:57 +0200
commitdf42fa7d47473a2f3912453db1e652b148e182da (patch)
treeb881350d3587aaa2e5d8e7575a781abcfc2efbd8
parent2ed197d66e3fc66d7bbe272f80536e0a7a2dcca2 (diff)
downloadfocaccia-qemu-df42fa7d47473a2f3912453db1e652b148e182da.tar.gz
focaccia-qemu-df42fa7d47473a2f3912453db1e652b148e182da.zip
configure: gcov should not exclude fortify-source
There is no reason other than history (dating back to commit 1d728c3946, "tests: add gcov
support", 2013-01-06) for this, remove this unnecessary conditional.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index a6ed3498f2..e404b55da5 100755
--- a/configure
+++ b/configure
@@ -2625,9 +2625,7 @@ fi
 
 write_c_skeleton
 
-if test "$gcov" = "yes" ; then
-  :
-elif test "$fortify_source" = "yes" ; then
+if test "$fortify_source" = "yes" ; then
   QEMU_CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $QEMU_CFLAGS"
   debug=no
 fi