diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-05-25 16:17:08 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-06-01 16:27:54 +0200 |
commit | ae04dac2db36ca13ea3ccbed70a2a8d23f8b73d5 (patch) | |
tree | e55b80cc88089a649d0dc5f4413133466ac761af /modules/webm/libvpx/SCsub | |
parent | 801aadb401c729df267171c18d21a6334bbea639 (diff) |
Remove server platform
Diffstat (limited to 'modules/webm/libvpx/SCsub')
-rw-r--r-- | modules/webm/libvpx/SCsub | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/webm/libvpx/SCsub b/modules/webm/libvpx/SCsub index 67d3f1bebd..4334cf732b 100644 --- a/modules/webm/libvpx/SCsub +++ b/modules/webm/libvpx/SCsub @@ -235,7 +235,7 @@ if env["platform"] == "uwp": else: import platform - is_x11_or_server_arm = (env["platform"] == "linuxbsd" or env["platform"] == "server") and ( + is_x11_or_server_arm = env["platform"] == "linuxbsd" and ( platform.machine().startswith("arm") or platform.machine().startswith("aarch") ) is_macos_x86 = env["platform"] == "osx" and ("arch" in env and (env["arch"] != "arm64")) @@ -314,12 +314,7 @@ if webm_cpu_x86: if webm_cpu_arm: if env["platform"] == "iphone": env_libvpx["ASFLAGS"] = "-arch armv7" - elif ( - env["platform"] == "android" - and env["android_arch"] == "armv7" - or env["platform"] == "linuxbsd" - or env["platform"] == "server" - ): + elif env["platform"] == "android" and env["android_arch"] == "armv7" or env["platform"] == "linuxbsd": env_libvpx["ASFLAGS"] = "-mfpu=neon" elif env["platform"] == "uwp": env_libvpx["AS"] = "armasm" |