0.157-4 Remove -Werror=format-security from RPM_OPT_FLAGS.

This commit is contained in:
Mark Wielaard 2013-12-19 17:24:06 +01:00
parent b82746b816
commit 39b038f4f8

View File

@ -231,7 +231,11 @@ find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
# Remove -Wall from default flags. The makefiles enable enough warnings # Remove -Wall from default flags. The makefiles enable enough warnings
# themselves, and they use -Werror. Appending -Wall defeats the cases where # themselves, and they use -Werror. Appending -Wall defeats the cases where
# the makefiles disable some specific warnings for specific code. # the makefiles disable some specific warnings for specific code.
# Also remove -Werror=format-security which doesn't work without
# -Wformat (enabled by -Wall). We enable -Wformat explicitly for some
# files later.
RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/} RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}
RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Werror=format-security/}
%if %{compat} %if %{compat}
# Some older glibc headers can run afoul of -Werror all by themselves. # Some older glibc headers can run afoul of -Werror all by themselves.
@ -341,6 +345,7 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog %changelog
* Thu Dec 19 2013 Mark Wielaard <mjw@redhat.com> - 0.157-4 * Thu Dec 19 2013 Mark Wielaard <mjw@redhat.com> - 0.157-4
- Add elfutils-0.157-aarch64-got-special-symbol.patch. - Add elfutils-0.157-aarch64-got-special-symbol.patch.
- Remove -Werror=format-security from RPM_OPT_FLAGS.
* Fri Dec 13 2013 Petr Machata <pmachata@redhat.com> - 0.157-3 * Fri Dec 13 2013 Petr Machata <pmachata@redhat.com> - 0.157-3
- Add upstream support for aarch64 - Add upstream support for aarch64