configure: gcov should not exclude fortify-source
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Apr 2022 15:33:38 +0000 (17:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Apr 2022 06:51:57 +0000 (08:51 +0200)
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>
configure

index a6ed3498f2069c5ccb8df4058e398dfd1463ad51..e404b55da5dbbfcda53e28eea6648c4b248ec50f 100755 (executable)
--- 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