Revert #1393492 changes, they break far too many builds

Per fweimer: "Sorry, we need to revert the -Werror=implicit-*
bits.  There is no chance we can get this working in any
reasonable time frame, there is simply too much breakage."
This commit is contained in:
Adam Williamson 2016-12-06 14:45:53 -08:00
parent 4edc01803a
commit 6dc72405b3
2 changed files with 5 additions and 2 deletions

2
macros
View File

@ -147,7 +147,7 @@
%__global_compiler_flags -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches %{_hardened_cflags} %__global_compiler_flags -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches %{_hardened_cflags}
%__global_cflags %{optflags} -Werror=implicit-function-declaration -Werror=implicit-int %__global_cflags %{optflags}
%__global_cxxflags %{optflags} %__global_cxxflags %{optflags}
%__global_fflags %{optflags} -I%_fmoddir %__global_fflags %{optflags} -I%_fmoddir
%__global_fcflags %{optflags} -I%_fmoddir %__global_fcflags %{optflags} -I%_fmoddir

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 60 Version: 61
Release: 1%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
@ -140,6 +140,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
%{_rpmconfigdir}/macros.d/macros.kmp %{_rpmconfigdir}/macros.d/macros.kmp
%changelog %changelog
* Tue Dec 06 2016 Adam Williamson <awilliam@redhat.com> - 61-1
- revert changes from 60, they break far too much stuff (#1401231)
* Wed Nov 30 2016 Panu Matilainen <pmatilai@redhat.com> - 60-1 * Wed Nov 30 2016 Panu Matilainen <pmatilai@redhat.com> - 60-1
- Error on implicit function declaration and -return type for C (#1393492) - Error on implicit function declaration and -return type for C (#1393492)