diff options
author | Jani Välimaa <wally@mageia.org> | 2024-04-10 20:33:06 +0300 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2024-04-10 20:34:00 +0300 |
commit | fc851c8f574799c42ec7b5505a005bdbf575c47f (patch) | |
tree | b499d98ffd2525a2a61b03ae5f42ab8ca1127420 | |
parent | 047595d46d78570c7979d6a44a6956b180cb63b4 (diff) | |
download | rpm-setup-fc851c8f574799c42ec7b5505a005bdbf575c47f.tar rpm-setup-fc851c8f574799c42ec7b5505a005bdbf575c47f.tar.gz rpm-setup-fc851c8f574799c42ec7b5505a005bdbf575c47f.tar.bz2 rpm-setup-fc851c8f574799c42ec7b5505a005bdbf575c47f.tar.xz rpm-setup-fc851c8f574799c42ec7b5505a005bdbf575c47f.zip |
macros: use -D_FORTIFY_SOURCE=3 by default (mga#30920)
-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 |