diff options
author | Tony Theodore <tonyt@logyst.com> | 2019-04-02 02:02:31 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2019-04-02 02:02:31 (GMT) |
commit | 4d8d9b32c92e3eb4a3656c3b33c4d93ec7208287 (patch) | |
tree | 7e7571b35697a7494b3f759a37f91b8f200926af | |
parent | 00acf309192980bfa49a03c3e71d824bb8059e6e (diff) | |
download | mxe-4d8d9b32c92e3eb4a3656c3b33c4d93ec7208287.zip mxe-4d8d9b32c92e3eb4a3656c3b33c4d93ec7208287.tar.gz mxe-4d8d9b32c92e3eb4a3656c3b33c4d93ec7208287.tar.bz2 |
ffmpeg: use new-style options
-rw-r--r-- | src/ffmpeg.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk index e9234c2..612ca6c 100644 --- a/src/ffmpeg.mk +++ b/src/ffmpeg.mk @@ -26,7 +26,7 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - cd '$(1)' && ./configure \ + cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \ --cross-prefix='$(TARGET)'- \ --enable-cross-compile \ --arch=$(firstword $(subst -, ,$(TARGET))) \ @@ -61,7 +61,8 @@ define $(PKG)_BUILD --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ - --enable-libxvid - $(MAKE) -C '$(1)' -j '$(JOBS)' - $(MAKE) -C '$(1)' -j 1 install + --enable-libxvid \ + $($(PKG)_CONFIGURE_OPTS) + $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' + $(MAKE) -C '$(BUILD_DIR)' -j 1 install endef |