diff options
Diffstat (limited to 'src/mesa/SConscript')
-rw-r--r-- | src/mesa/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript index 3cd0f87ef5f..15b62692a62 100644 --- a/src/mesa/SConscript +++ b/src/mesa/SConscript @@ -351,7 +351,8 @@ get_hash_header = env.CodeGenerate( # # Assembly sources # -if env['gcc'] and env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'): +if (env['gcc'] or env['clang']) and \ + env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'): if env['machine'] == 'x86': env.Append(CPPDEFINES = [ 'USE_X86_ASM', |