Bug 1403982: Pass --disable-xcode-checks to js/src's configure; r?gps draft
authorTom Prince <mozilla@hocat.ca>
Thu, 28 Sep 2017 09:46:30 -0600
changeset 671979 d1c115e35d1cbeb395ca66a20b52b74ba78b74db
parent 671268 756e10aa8bbd416cbc49b7739f78fb81d5525477
child 733677 e7c546e5685a150aa2bdb9f751deae09e6151f54
push id82109
push userbmo:mozilla@hocat.ca
push dateThu, 28 Sep 2017 15:47:19 +0000
reviewersgps
bugs1403982
milestone58.0a1
Bug 1403982: Pass --disable-xcode-checks to js/src's configure; r?gps MozReview-Commit-ID: I9rSz26D1nR
build/moz.configure/toolchain.configure
--- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure
@@ -91,17 +91,17 @@ def macos_target(value, target):
 
 
 set_config('MACOSX_DEPLOYMENT_TARGET', macos_target)
 add_old_configure_assignment('MACOSX_DEPLOYMENT_TARGET', macos_target)
 
 # Xcode state
 # ===========
 
-option('--disable-xcode-checks',
+js_option('--disable-xcode-checks',
        help='Do not check that Xcode is installed and properly configured')
 
 @depends(host, '--disable-xcode-checks')
 def xcode_path(host, xcode_checks):
     if host.kernel != 'Darwin' or not xcode_checks:
         return
 
     # xcode-select -p prints the path to the installed Xcode. It