Bug 1405326 - check for linker fails on Solaris r=glandium
authorPetr Sumbera <petr.sumbera@oracle.com>
Tue, 03 Oct 2017 07:15:24 -0700
changeset 385372 83b70c4e4ef92d28201624342098a24c1eacdca2
parent 385371 85d26f1a75cf677beeacb9967a9bf490306e0af6
child 385373 42bcbbdc84f22bdd0960177066fad4382d3545bc
push id32653
push userarchaeopteryx@coole-files.de
push dateTue, 10 Oct 2017 21:56:30 +0000
treeherdermozilla-central@e897e367d3bd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1405326
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1405326 - check for linker fails on Solaris r=glandium MozReview-Commit-ID: 8dDfivVaK8f
build/moz.configure/toolchain.configure
--- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure
@@ -1198,17 +1198,17 @@ def developer_options(value):
 add_old_configure_assignment('DEVELOPER_OPTIONS', developer_options)
 set_config('DEVELOPER_OPTIONS', developer_options)
 
 # Linker detection
 # ==============================================================
 
 @depends(target)
 def build_not_win_mac(target):
-    if target.kernel not in ('Darwin', 'WINNT'):
+    if target.kernel not in ('Darwin', 'WINNT', 'SunOS'):
         return True
 
 
 option('--enable-gold',
        env='MOZ_FORCE_GOLD',
        help='Enable GNU Gold Linker when it is not already the default',
        when=build_not_win_mac)