summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/SConscript
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2012-02-18 23:43:03 -0800
committerVinson Lee <vlee@freedesktop.org>2012-02-25 00:25:43 -0800
commitc5e646002291fdc372dc5db507c71017ec0c0e70 (patch)
tree3c1ceed233a6c451b8904b3b56938ebc9dad5480 /src/mapi/glapi/SConscript
parent6512bc4e67f0f2b53805d050e11f6a336b505f40 (diff)
scons: Don't build the assembly sources on Mac OS X.
This patch allows the Mac OS X SCons build to complete. The assembly sources contain psuedo-ops that not are supported on Mac OS X. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/mapi/glapi/SConscript')
-rw-r--r--src/mapi/glapi/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/SConscript b/src/mapi/glapi/SConscript
index 9882806ce60..4097a7fe138 100644
--- a/src/mapi/glapi/SConscript
+++ b/src/mapi/glapi/SConscript
@@ -46,7 +46,7 @@ for s in mapi_sources:
#
# Assembly sources
#
-if env['gcc'] and env['platform'] != 'windows':
+if env['gcc'] and env['platform'] not in ('darwin', 'windows'):
if env['machine'] == 'x86':
env.Append(CPPDEFINES = [
'USE_X86_ASM',