qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 05/34] configure: gcov should not exclude fortify-source


From: Paolo Bonzini
Subject: [PATCH 05/34] configure: gcov should not exclude fortify-source
Date: Wed, 20 Apr 2022 17:33:38 +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.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 configure | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/configure b/configure
index 7a89cb4123..48ae18f47f 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
-- 
2.35.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]