summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg
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/ffmpeg
parent77b30ad88ce789b2529e617d07ad8375392d36f0 (diff)
contrib: macOS arm and intel cross compilation.
Diffstat (limited to 'contrib/ffmpeg')
-rw-r--r--contrib/ffmpeg/module.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index b63fb512a..ebddcf19a 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -97,6 +97,10 @@ ifeq (darwin,$(HOST.system))
else ifeq (arm64,$(HOST.arch))
FFMPEG.CONFIGURE.extra += --arch=arm64
endif
+
+ ifeq (1,$(HOST.cross))
+ FFMPEG.CONFIGURE.extra += --enable-cross-compile
+ endif
endif
## check against tuple: B-SYSTEM where B is { 0 | 1 } for cross-compiling flag