Fix overeager warn_unused_result build failures.

This commit is contained in:
roland 2007-01-11 05:12:54 +00:00
parent f7bf9a0b65
commit 0a3350be2b

View File

@ -1,5 +1,5 @@
%define eu_version 0.125
%define eu_release 1
%define eu_release 2
%if %{?_with_compat:1}%{!?_with_compat:0}
%define compat 1
@ -35,6 +35,8 @@ Patch0: elfutils-strip-copy-symtab.patch
Source2: testfile16.symtab.bz2
Source3: testfile16.symtab.debug.bz2
Patch3: elfutils-0.125-warn_unused_result.patch
# ExcludeArch: xxx
BuildRoot: %{_tmppath}/%{name}-root
@ -164,6 +166,7 @@ find . \( -name configure -o -name config.h.in \) -print | xargs touch
%endif
%patch2 -p1
%patch3 -p0
%build
# Remove -Wall from default flags. The makefiles enable enough warnings
@ -271,6 +274,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libelf.a
%changelog
* Wed Jan 10 2007 Roland McGrath <roland@redhat.com> - 0.125-2.fc7
- Fix overeager warn_unused_result build failures.
* Wed Jan 10 2007 Roland McGrath <roland@redhat.com> - 0.125-1
- Update to 0.125
- elflint: Compare DT_GNU_HASH tests.