aboutsummaryrefslogtreecommitdiff
path: root/mesalib/scons
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-19 08:51:12 +0200
committermarha <marha@users.sourceforge.net>2012-06-19 08:51:12 +0200
commit36237c651fab7aa9e65da9c33eb89a619827edff (patch)
treeab3ed4f72cf398ca5c3760f91b70a8b3bb2e1bd0 /mesalib/scons
parenta3691edaff553b5130c97ff912ecaa96f08a6643 (diff)
downloadvcxsrv-36237c651fab7aa9e65da9c33eb89a619827edff.tar.gz
vcxsrv-36237c651fab7aa9e65da9c33eb89a619827edff.tar.bz2
vcxsrv-36237c651fab7aa9e65da9c33eb89a619827edff.zip
mesa git update 19 Juni 2012
Diffstat (limited to 'mesalib/scons')
-rw-r--r--mesalib/scons/gallium.py2
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.