summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/libvpx/module.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/libvpx/module.defs b/contrib/libvpx/module.defs
index 4650307cf..f9b38a886 100644
--- a/contrib/libvpx/module.defs
+++ b/contrib/libvpx/module.defs
@@ -33,3 +33,9 @@ ifeq (linux,$(BUILD.system))
LIBVPX.CONFIGURE.extra += --enable-pic
endif
endif
+
+ifeq (0-darwin,$(BUILD.cross)-$(BUILD.system))
+ ifeq (x86_64,$(BUILD.machine))
+ LIBVPX.CONFIGURE.extra += --target=x86_64-darwin14-gcc
+ endif
+endif