about summary refs log tree commit diff
path: root/localedata/Makefile
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2022-02-03 16:01:52 -0500
committerCarlos O'Donell <carlos@redhat.com>2022-02-25 07:31:27 -0500
commit1c7a34567d21fbd3b706c77cd794956b43daefe7 (patch)
treeeba818b0231463799a1d6339b17c4b70b875a5ab /localedata/Makefile
parent2ab8b74567dc0a9a3c98696e6444881997dd6c49 (diff)
downloadglibc-1c7a34567d21fbd3b706c77cd794956b43daefe7.tar.gz
glibc-1c7a34567d21fbd3b706c77cd794956b43daefe7.tar.xz
glibc-1c7a34567d21fbd3b706c77cd794956b43daefe7.zip
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>
Diffstat (limited to 'localedata/Makefile')
-rw-r--r--localedata/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/Makefile b/localedata/Makefile
index 9ae2e5c161..7741ac3b5e 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -468,11 +468,11 @@ define build-one-locale
 endef
 
 $(INSTALL-SUPPORTED-LOCALE-ARCHIVE): install-locales-dir
-	@flags="-c"; \
+	@flags=""; \
 	$(build-one-locale)
 
 $(INSTALL-SUPPORTED-LOCALE-FILES): install-locales-dir
-	@flags="-c --no-archive --no-hard-links"; \
+	@flags="--no-archive --no-hard-links"; \
 	$(build-one-locale)
 
 tst-setlocale-ENV = LC_ALL=ja_JP.EUC-JP