diff -Naur rpm-5.4.10.orig/macros/mandriva.in rpm-5.4.10/macros/mandriva.in --- rpm-5.4.10.orig/macros/mandriva.in 2014-09-10 07:00:38.045847753 -0400 +++ rpm-5.4.10/macros/mandriva.in 2014-09-10 07:01:54.058851415 -0400 @@ -162,7 +162,7 @@ %Werror_cflags -Wformat -Werror=format-security %_ssp_cflags -fstack-protector --param=ssp-buffer-size=4%{?_serverbuild_flags: %_serverbuild_flags} -%__common_cflags -O2 %{debugcflags} -pipe %{Werror_cflags} %{?_fortify_cflags} -ffat-lto-objects +%__common_cflags -O2 %{debugcflags} -pipe %{Werror_cflags} %{?_fortify_cflags} -ffat-lto-objects -fno-delete-null-pointer-checks %__common_cflags_with_ssp %{__common_cflags} %{?_ssp_cflags} # Servers opt flags.