SCons: Fix checks for clang in env['CXX']
They would match the whole path instead of only the filename.
This commit is contained in:
parent
298a6ad73c
commit
5adf7aa6b7
3 changed files with 5 additions and 5 deletions
|
|
@ -349,7 +349,7 @@ if webm_multithread:
|
|||
env_libvpx.add_source_files(env.modules_sources, libvpx_sources_mt)
|
||||
|
||||
if webm_cpu_x86:
|
||||
is_clang_or_gcc = ('gcc' in env["CC"]) or ('clang' in env["CC"]) or ("OSXCROSS_ROOT" in os.environ)
|
||||
is_clang_or_gcc = ('gcc' in os.path.basename(env["CC"])) or ('clang' in os.path.basename(env["CC"])) or ("OSXCROSS_ROOT" in os.environ)
|
||||
|
||||
env_libvpx_mmx = env_libvpx.Clone()
|
||||
if cpu_bits == '32' and is_clang_or_gcc:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue