Fix issue running makepanda on German computers

This commit is contained in:
rdb 2015-08-16 13:51:25 +02:00
parent 3c9a0f99a9
commit 6b7cbc5f2f

View File

@ -2290,6 +2290,9 @@ def SetupBuildEnvironment(compiler):
print("Target OS: %s" % GetTarget()) print("Target OS: %s" % GetTarget())
print("Target arch: %s" % GetTargetArch()) 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": if compiler == "MSVC":
# Add the visual studio tools to PATH et al. # Add the visual studio tools to PATH et al.
SetupVisualStudioEnviron() SetupVisualStudioEnviron()