diff options
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r-- | src/mapi/glapi/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapi/glapi/SConscript b/src/mapi/glapi/SConscript index 79cbb6a40d1..ac11148ffcf 100644 --- a/src/mapi/glapi/SConscript +++ b/src/mapi/glapi/SConscript @@ -49,7 +49,8 @@ for s in mapi_sources: # # Assembly sources # -if env['gcc'] and env['platform'] not in ('cygwin', 'darwin', 'windows'): +if (env['gcc'] or env['clang']) and \ + env['platform'] not in ('cygwin', 'darwin', 'windows'): GLAPI = '#src/mapi/glapi/' if env['machine'] == 'x86': |