summaryrefslogtreecommitdiffstats
path: root/contrib/libvpx/module.defs
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-10-30 13:47:51 +0100
committerDamiano Galassi <[email protected]>2020-11-05 09:49:16 +0100
commit03bdef6441b16291861285c88585bf0c51b71d3f (patch)
tree654bf83fbc708cffb4fb49a69d303f3a89703a5c /contrib/libvpx/module.defs
parent77b30ad88ce789b2529e617d07ad8375392d36f0 (diff)
contrib: macOS arm and intel cross compilation.
Diffstat (limited to 'contrib/libvpx/module.defs')
-rw-r--r--contrib/libvpx/module.defs18
1 files changed, 10 insertions, 8 deletions
diff --git a/contrib/libvpx/module.defs b/contrib/libvpx/module.defs
index 003a9aae6..b1add498b 100644
--- a/contrib/libvpx/module.defs
+++ b/contrib/libvpx/module.defs
@@ -18,15 +18,17 @@ LIBVPX.CONFIGURE.extra = \
--disable-unit-tests
ifeq (1,$(HOST.cross))
- LIBVPX.CONFIGURE.env.CROSS = CROSS="$(HOST.spec)-"
LIBVPX.CONFIGURE.args.build =
- LIBVPX.CONFIGURE.extra += --enable-static-msvcrt
- ifeq (i686,$(HOST.machine))
- LIBVPX.CONFIGURE.extra += --target=x86-win32-gcc
- else ifeq (x86_64,$(HOST.machine))
- LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc
- else ifeq (aarch64,$(HOST.machine))
- LIBVPX.CONFIGURE.extra += --target=arm64-win64-gcc
+ ifneq ($(HOST.system),darwin)
+ LIBVPX.CONFIGURE.env.CROSS = CROSS="$(HOST.spec)-"
+ LIBVPX.CONFIGURE.extra += --enable-static-msvcrt
+ ifeq (i686,$(HOST.machine))
+ LIBVPX.CONFIGURE.extra += --target=x86-win32-gcc
+ else ifeq (x86_64,$(HOST.machine))
+ LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc
+ else ifeq (aarch64,$(HOST.machine))
+ LIBVPX.CONFIGURE.extra += --target=arm64-win64-gcc
+ endif
endif
endif