summaryrefslogtreecommitdiffstats
path: root/src/x264.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-07-13 11:07:36 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-07-13 11:07:36 (GMT)
commit82f84a6fb554d10a0820a8d19b0972c2f7f60161 (patch)
tree7706c15d3816cf77ea2fba8aa83ae49399ba0c6e /src/x264.mk
parentb7627171c20241e6a0f4c347ee53ae87fceefd24 (diff)
downloadmxe-82f84a6fb554d10a0820a8d19b0972c2f7f60161.zip
mxe-82f84a6fb554d10a0820a8d19b0972c2f7f60161.tar.gz
mxe-82f84a6fb554d10a0820a8d19b0972c2f7f60161.tar.bz2
packages libvpx x264: use prefixed yasm
Diffstat (limited to 'src/x264.mk')
-rw-r--r--src/x264.mk11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/x264.mk b/src/x264.mk
index 7fb64ed..0754a6f 100644
--- a/src/x264.mk
+++ b/src/x264.mk
@@ -14,16 +14,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- # native build of yasm
- mkdir '$(1).native'
- cd '$(1).native' && $(call UNPACK_PKG_ARCHIVE,yasm)
- cd '$(1).native/$(yasm_SUBDIR)' && './configure' \
- --disable-nls \
- --disable-python
- $(MAKE) -C '$(1).native/$(yasm_SUBDIR)' -j '$(JOBS)' yasm
-
- # cross build with newly compiled yasm
- $(SED) -i 's,yasm,$(1).native/$(yasm_SUBDIR)/yasm,g' '$(1)/configure'
+ $(SED) -i 's,yasm,$(TARGET)-yasm,g' '$(1)/configure'
cd '$(1)' && ./configure \
--cross-prefix='$(TARGET)'- \
--host='$(TARGET)' \