Skip to contentSkip to conversation

configure: make fortify_source=yes by default

PATCH Applied Michael Tokarev 2 participants 2 messages Apr 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: make fortify_source=yes by default

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.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 7c08c18358..5d79c9eee0 100755
@@ -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"
Signature · 1 line
2.30.2