From d8a810a777f9c7113d15c1dc1ce8bde72ebc688b Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 14 Oct 2020 15:29:09 +0200 Subject: [PATCH] Disable -Werror on ELN (#1888246) --- glibc.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/glibc.spec b/glibc.spec index 7463c04..b0ca4a5 100644 --- a/glibc.spec +++ b/glibc.spec @@ -27,8 +27,12 @@ %bcond_without benchtests # Default: Not bootstrapping. %bcond_with bootstrap -# Default: Enable using -Werror +# Default: Enable using -Werror (except for ELN). +%if 0%{?rhel} > 0 +%bcond_with werror +%else %bcond_without werror +%endif # Default: Always build documentation. %bcond_without docs @@ -96,7 +100,7 @@ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: 9%{?dist} +Release: 10%{?dist} # In general, GPLv2+ is used by programs, LGPLv2+ is used for # libraries. @@ -2253,6 +2257,9 @@ fi %files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared %changelog +* Wed Oct 14 2020 Florian Weimer - 2.32.9000-10 +- Disable -Werror on ELN (#1888246) + * Wed Oct 14 2020 Florian Weimer - 2.32.9000-9 - Make glibc.spec self-contained (#1887097)