Browse Source

Fix issue running makepanda on German computers

rdb 10 years ago
parent
commit
6b7cbc5f2f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      makepanda/makepandacore.py

+ 3 - 0
makepanda/makepandacore.py

@@ -2290,6 +2290,9 @@ def SetupBuildEnvironment(compiler):
         print("Target OS: %s" % GetTarget())
         print("Target arch: %s" % GetTargetArch())
 
+    # Set to English so we can safely parse the result of gcc commands.
+    os.environ["LC_ALL"] = "C"
+
     if compiler == "MSVC":
         # Add the visual studio tools to PATH et al.
         SetupVisualStudioEnviron()