diff options
author | marha <marha@users.sourceforge.net> | 2012-06-19 08:53:58 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-19 08:53:58 +0200 |
commit | 62d040da7ea0a76d48014b5247d98b428ca50a15 (patch) | |
tree | d654468cec32beda665bb645ac854ea09279c8c3 /mesalib/scons/gallium.py | |
parent | c264407352572f07e31695637d3d78d07ae0bae8 (diff) | |
parent | 36237c651fab7aa9e65da9c33eb89a619827edff (diff) | |
download | vcxsrv-62d040da7ea0a76d48014b5247d98b428ca50a15.tar.gz vcxsrv-62d040da7ea0a76d48014b5247d98b428ca50a15.tar.bz2 vcxsrv-62d040da7ea0a76d48014b5247d98b428ca50a15.zip |
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/scons/gallium.py')
-rw-r--r-- | mesalib/scons/gallium.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/scons/gallium.py b/mesalib/scons/gallium.py index ee91ca444..75c713d1c 100644 --- a/mesalib/scons/gallium.py +++ b/mesalib/scons/gallium.py @@ -139,6 +139,7 @@ def generate(env): env['gcc'] = 'gcc' in os.path.basename(env['CC']).split('-') env['msvc'] = env['CC'] == 'cl' + env['suncc'] = env['platform'] == 'sunos' and os.path.basename(env['CC']) == 'cc' if env['msvc'] and env['toolchain'] == 'default' and env['machine'] == 'x86_64': # MSVC x64 support is broken in earlier versions of scons @@ -151,6 +152,7 @@ def generate(env): ppc = env['machine'] == 'ppc' gcc = env['gcc'] msvc = env['msvc'] + suncc = env['suncc'] # Determine whether we are cross compiling; in particular, whether we need # to compile code generators with a different compiler as the target code. |