# HG changeset patch # User Doug Simon # Date 1412190830 -7200 # Node ID f0364a8ec40e746c8c487fee2e44c49255e2a30b # Parent 845e881ce0544a0b2f0f3276e422f9f778c3832d force USE_CLANG when building on MacOS diff -r 845e881ce054 -r f0364a8ec40e mx/mx_graal.py --- a/mx/mx_graal.py Wed Oct 01 20:45:56 2014 +0200 +++ b/mx/mx_graal.py Wed Oct 01 21:13:50 2014 +0200 @@ -901,6 +901,9 @@ setMakeVar('GRAAL_VERSION', version) setMakeVar('INCLUDE_GRAAL', 'true') setMakeVar('INSTALL', 'y', env=env) + if mx.get_os() == 'darwin' and platform.mac_ver()[0] != '': + # Force use of clang on MacOS + setMakeVar('USE_CLANG', 'true') if mx.get_os() == 'solaris': # If using sparcWorks, setup flags to avoid make complaining about CC version cCompilerVersion = subprocess.Popen('CC -V', stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True).stderr.readlines()[0]