[PATCH] configure: make fortify_source=yes by default

Michael Tokarev posted 1 patch 2 years ago
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] configure: make fortify_source=yes by default
Posted by Michael Tokarev 2 years ago
Commit c87ea1163111917 "configure: add --without-default-feature"
changed fortify_source from "yes" to "$default_feature". But there's
no option to turn it on, we only turn it off for debug build.  I think
this should always be initialized to "yes" in the first place.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 7c08c18358..5d79c9eee0 100755
--- a/configure
+++ b/configure
@@ -308,7 +308,7 @@ debug_tcg="no"
 debug="no"
 sanitizers="no"
 tsan="no"
-fortify_source="$default_feature"
+fortify_source="yes"
 gcov="no"
 EXESUF=""
 modules="no"
-- 
2.30.2
Re: [PATCH] configure: make fortify_source=yes by default
Posted by Paolo Bonzini 2 years ago
Queued, thanks.

Paolo