summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakedepend.SH5
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