diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | macros.in | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- macros: use -D_FORTIFY_SOURCE=3 by default (mga#30920) + Version 2.77 - 2 April 2024, by Jani Välimaa - configure: add support for i686 target, and use it as a secondary target for x86_64 @@ -271,7 +271,7 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} - %debugcflags %{?_enable_debug_packages:-g} -%_fortify_level 2 +%_fortify_level 3 %_fortify_cflags %[ 0%{?_fortify_level} > 0 ? "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=%{_fortify_level}" : "" ] # cf http://wiki.mandriva.com/en/Development/Packaging/Problems#format_not_a_string_literal_and_no_format_arguments |