diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-27 09:15:35 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-27 09:15:35 +0000 |
commit | 7f6b4defaf6baf54201106f504769d0bd5dcd6e1 (patch) | |
tree | b1b115d52fb131416470126bac0da4a6968ff8ae /contrib/make_sunver.pl | |
parent | 936ab1d9437de4341e12898b003d79d94f4bb19a (diff) | |
download | gcc-7f6b4defaf6baf54201106f504769d0bd5dcd6e1.tar.gz |
Make make_sunver.pl robust against non-C locales
* make_sunver.pl: Enforce C locale.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196309 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib/make_sunver.pl')
-rw-r--r-- | contrib/make_sunver.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/make_sunver.pl b/contrib/make_sunver.pl index db0fe21ef43..8a90b1fea0d 100644 --- a/contrib/make_sunver.pl +++ b/contrib/make_sunver.pl @@ -19,6 +19,10 @@ use FileHandle; use IPC::Open2; +# Enforce C locale. +$ENV{'LC_ALL'} = "C"; +$ENV{'LANG'} = "C"; + # Input version script, GNU style. my $symvers = shift; |