diff options
author | Carlos O'Donell <carlos@redhat.com> | 2022-02-03 16:01:52 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2022-02-25 07:31:27 -0500 |
commit | 1c7a34567d21fbd3b706c77cd794956b43daefe7 (patch) | |
tree | eba818b0231463799a1d6339b17c4b70b875a5ab /localedata/gen-locale.sh | |
parent | 2ab8b74567dc0a9a3c98696e6444881997dd6c49 (diff) | |
download | glibc-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/gen-locale.sh')
-rw-r--r-- | localedata/gen-locale.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/localedata/gen-locale.sh b/localedata/gen-locale.sh index 7fce35f212..8053c816a6 100644 --- a/localedata/gen-locale.sh +++ b/localedata/gen-locale.sh @@ -54,8 +54,14 @@ modifier=`echo $locfile|sed 's|[^.]*[.]\([^@ ]*\)\(@[^ ]*\)\?/LC_CTYPE|\2|'` echo "Generating locale $locale.$charmap: this might take a while..." -# Run quietly and force output. -flags="--quiet -c" +# Do not force output with '-c', all locales should compile without +# warning or errors. There is likewise no need to run quietly with +# '--quiet' since all locales should compile without additional +# diagnostics. If there are messages printed then we want to see +# them, fix them, and the associated error or warning. During +# development it may be beneficialy to put '--quiet -c' here to allow +# you to develop in-progress locales. +flags="" # For SJIS the charmap is SHIFT_JIS. We just want the locale to have # a slightly nicer name instead of using "*.SHIFT_SJIS", but that |