localedata: Do not generate output if warnings were present.
commit1c7a34567d21fbd3b706c77cd794956b43daefe7
authorCarlos O'Donell <carlos@redhat.com>
Thu, 3 Feb 2022 21:01:52 +0000 (3 16:01 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Fri, 25 Feb 2022 12:31:27 +0000 (25 07:31 -0500)
treeeba818b0231463799a1d6339b17c4b70b875a5ab
parent2ab8b74567dc0a9a3c98696e6444881997dd6c49
localedata: Do not generate output if warnings were present.

With LC_MONETARY parsing fixed we can now generate locales
without forcing output with '-c'.

Removing '-c' from localedef invocation is the equivalent of
using -Werror for localedef.  The glibc locale sources should
always be clean and free from warnings.

We remove '-c' from both test locale generation and the targets
used for installing locales e.g. install-locale-archive, and
install-locale-files.

Tested on x86_64 and i686 without regressions.
Tested with install-locale-archive target.
Tested with install-locale-files target.

Reviewed-by: DJ Delorie <dj@redhat.com>
localedata/Makefile
localedata/gen-locale.sh