]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - scripts/mkcompile_h
[PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -v
[net-next-2.6.git] / scripts / mkcompile_h
index d7b8a384b4a7991960d33c7c01c60d6f58f92fd6..82d0af46f0ef01a6b10ccdbfc22614cc56436bed 100755 (executable)
@@ -58,7 +58,7 @@ UTS_TRUNCATE="sed -e s/\(.\{1,$UTS_LEN\}\).*/\1/"
     echo \#define LINUX_COMPILE_DOMAIN
   fi
 
-  echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | tail -n 1`\"
+  echo \#define LINUX_COMPILER \"`LC_ALL=C LANG=C $CC -v 2>&1 | tail -n 1`\"
 ) > .tmpcompile
 
 # Only replace the real compile.h if the new one is different,