summaryrefslogtreecommitdiffstats
path: root/src/ffmpeg.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-05-23 14:38:06 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-06-01 12:28:04 (GMT)
commit5390e5203e5cbcf5ec736ddaba3dc58b5e2c2c6f (patch)
tree113eb3aa721a36ddcefb656d9bd56506bf99c98c /src/ffmpeg.mk
parentb974ef08d8b4fc555259eb49c9e34ef69c411948 (diff)
downloadmxe-5390e5203e5cbcf5ec736ddaba3dc58b5e2c2c6f.zip
mxe-5390e5203e5cbcf5ec736ddaba3dc58b5e2c2c6f.tar.gz
mxe-5390e5203e5cbcf5ec736ddaba3dc58b5e2c2c6f.tar.bz2
various packages: enable/disable mingw-w64 builds
Diffstat (limited to 'src/ffmpeg.mk')
-rw-r--r--src/ffmpeg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk
index cb031d3..4ff0265 100644
--- a/src/ffmpeg.mk
+++ b/src/ffmpeg.mk
@@ -21,7 +21,7 @@ define $(PKG)_BUILD
cd '$(1)' && ./configure \
--cross-prefix='$(TARGET)'- \
--enable-cross-compile \
- --arch=i686 \
+ --arch=$(patsubst -%,,$(TARGET)) \
--target-os=mingw32 \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-shared \
@@ -49,3 +49,5 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef
+
+$(PKG)_BUILD_x86_64-w64-mingw32 = $(subst enable-libxvid,disable-libxvid,$($(PKG)_BUILD))