From 4d8d9b32c92e3eb4a3656c3b33c4d93ec7208287 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Tue, 2 Apr 2019 13:02:31 +1100 Subject: [PATCH] ffmpeg: use new-style options --- src/ffmpeg.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk index e9234c20..612ca6cd 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