Bug 1414060 - Re-add NONASCII. r?Build draft
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Sat, 04 Nov 2017 10:21:20 +0900
changeset 693070 70bd1d57f7807484c15ebe9c54aa9df5f063449b
parent 693069 9b539a967d3b7fae9784bc17a9abffa6ccd98110
child 693071 c16c09c1e950bcee07924e72c1a11a4f7bf75011
push id87699
push userVYV03354@nifty.ne.jp
push dateSat, 04 Nov 2017 02:18:39 +0000
reviewersBuild
bugs1414060
milestone58.0a1
Bug 1414060 - Re-add NONASCII. r?Build This patch would have caught this bug. MozReview-Commit-ID: 5J9JqFyu9u8
build/moz.configure/windows.configure
--- a/build/moz.configure/windows.configure
+++ b/build/moz.configure/windows.configure
@@ -467,8 +467,13 @@ def msvc_showincludes_prefix(c_compiler)
             m = pattern.match(line)
             if m:
                 return m.group(1)
     # We should have found the prefix and returned earlier
     die('Cannot find cl -showIncludes prefix.')
 
 
 set_config('CL_INCLUDES_PREFIX', msvc_showincludes_prefix)
+
+# Make sure that the build system can handle non-ASCII characters
+# in environment variables to prevent it from breaking silently on
+# non-English systems.
+set_config('NONASCII', b'\241\241')