diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-03-28 18:45:54 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-03-28 19:08:20 +0200 |
commit | e7b9e2f97099bb37fc59dfc00affa04cee18a5d7 (patch) | |
tree | 8baa3413be82cb9c2d8d05d1c234d3317bd53d68 /modules/webm/libvpx | |
parent | 4b4ed9b72454dea13bd5f0935806519e67f13fbc (diff) |
Fix IPhone and OSX cross compilation
Diffstat (limited to 'modules/webm/libvpx')
-rw-r--r-- | modules/webm/libvpx/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/webm/libvpx/SCsub b/modules/webm/libvpx/SCsub index 0ebafa022d..b09c232b3c 100644 --- a/modules/webm/libvpx/SCsub +++ b/modules/webm/libvpx/SCsub @@ -340,7 +340,7 @@ if webm_simd_optimizations == False: env_libvpx.add_source_files(env.modules_sources, libvpx_sources) if webm_cpu_x86: - is_clang_or_gcc = ('gcc' in env["CC"]) or ('clang' in env["CC"]) + is_clang_or_gcc = ('gcc' in env["CC"]) or ('clang' in env["CC"]) or ("OSXCROSS_ROOT" in os.environ) env_libvpx_mmx = env_libvpx.Clone() if cpu_bits == '32' and is_clang_or_gcc: |