diff options
author | Bradley Sepos <[email protected]> | 2018-06-01 16:13:55 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-06-01 16:17:14 -0400 |
commit | e1dddfebf0976245f6c9295fa5fef07c8a695db9 (patch) | |
tree | 4d27a88e2a9eed9821fdc4b0da6a20fbd8a8c659 /contrib | |
parent | 7cddc6fe8779e1e098b48ecdfddf6b2c15050578 (diff) |
contrib: Explicitly pass arch to FFmpeg on macOS x86_64.
Fixes FFmpeg configure error on macOS:
```
./configure: line 588: eval: --: invalid option
eval: usage: eval [arg ...]
make[1]: *** [contrib/ffmpeg/.stamp.ffmpeg.configure] Error 2
```
...caused by attempting to `eval --arch=x86_64=yes`.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ffmpeg/module.defs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index c8d729ff7..36d04b2db 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -73,6 +73,9 @@ FFMPEG.CONFIGURE.extra += \ ifeq (darwin,$(BUILD.system)) FFMPEG.CONFIGURE.extra += --disable-audiotoolbox --disable-coreimage --disable-videotoolbox + ifeq (x86_64,$(BUILD.arch)) + FFMPEG.CONFIGURE.extra += --arch=x86_64 + endif endif ## check against tuple: B-SYSTEM where B is { 0 | 1 } for cross-compiling flag |