diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-02-03 22:02:44 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-02-03 22:02:44 +0000 |
commit | ed9a7c0a7122dbeb8157d93bb6181ffc5af79d3b (patch) | |
tree | f4bc228de63c1bf6c5b239c29e8bd8fa402aba6a /makedepend.SH | |
parent | acae81db257c281d4bc95e9f6550ff8d6fd2678c (diff) | |
download | perl-ed9a7c0a7122dbeb8157d93bb6181ffc5af79d3b.tar.gz |
Force the C locale in makedepend, to prevent gcc from
producing locale-dependent messages.
p4raw-id: //depot/perl@18650
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-x | makedepend.SH | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/makedepend.SH b/makedepend.SH index b8581e9cd7..c1d880d324 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -58,6 +58,11 @@ case $PERL_CONFIG_SH in ;; esac +# Avoid localized gcc messages +case "$ccname" in + gcc) LC_ALL=C ; export LC_ALL ;; +esac + # We need .. when we are in the x2p directory if we are using the # cppstdin wrapper script. # Put .. and . first so that we pick up the present cppstdin, not |