diff options
author | Jose Fonseca <[email protected]> | 2016-04-18 11:47:07 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2016-04-26 17:17:00 +0100 |
commit | 9a25c8af1b7fad0e7b3f3f3b4cbf6ae6e32e0e4d (patch) | |
tree | e10e148b80cb33316990f97f4bf4f81bd0264df3 /src/mesa/SConscript | |
parent | c068610a7df370af94fd6177598a35c4425a75f9 (diff) |
scons: Whenever possible decide what to do based on platform and not compiler.
Because compilers like GCC and Clang are effectively available everywhere
so their presence/absence is seldom conclusive.
Furthermore, all compilers we use now have stdint.h.
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/SConscript')
-rw-r--r-- | src/mesa/SConscript | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript index 5b80a216fef..71741010217 100644 --- a/src/mesa/SConscript +++ b/src/mesa/SConscript @@ -82,8 +82,7 @@ format_unpack = env.CodeGenerate( # # Assembly sources # -if (env['gcc'] or env['clang']) and \ - env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'): +if env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'): if env['machine'] == 'x86': env.Append(CPPDEFINES = [ 'USE_X86_ASM', |