Merge pull request #87292 from akien-mga/3.x-libvpx-crimes

[3.x] Linux: Disable webm module on arm32, we can't build libvpx properly
This commit is contained in:
Rémi Verschelde 2024-01-17 15:21:40 +01:00 committed by GitHub
commit 3e7572304d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,13 @@
def can_build(env, platform):
if env["arch"].startswith("rv"):
return False
return platform not in ["iphone"]
if platform == "iphone":
return False
# Can work in theory but our libvpx/SCsub is too broken to compile NEON .s
# files properly on Linux arm32. Could be fixed by someone motivated.
if platform in ["x11", "server"] and env["arch"] in ["arm", "arm32"]:
return False
return True
def configure(env):