summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-07-13 11:07:11 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-07-13 11:07:11 (GMT)
commitb7627171c20241e6a0f4c347ee53ae87fceefd24 (patch)
tree70e4df4be13bb0820408cebcd0def7fd1c5f498a /src
parent5b4088165a38c7bd20417333ffb821242b808eba (diff)
downloadmxe-b7627171c20241e6a0f4c347ee53ae87fceefd24.zip
mxe-b7627171c20241e6a0f4c347ee53ae87fceefd24.tar.gz
mxe-b7627171c20241e6a0f4c347ee53ae87fceefd24.tar.bz2
package yasm: install prefixed binary in mxe bin path
Diffstat (limited to 'src')
-rw-r--r--src/yasm.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/yasm.mk b/src/yasm.mk
index 8006f6f..85e1a01 100644
--- a/src/yasm.mk
+++ b/src/yasm.mk
@@ -15,6 +15,16 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ # native build of yasm - will the same for all targets
+ # but we don't want to conflict with an un-prefixed version
+ mkdir '$(1).native'
+ cd '$(1).native' && '$(1)/configure' \
+ --prefix='$(PREFIX)' \
+ --program-prefix='$(TARGET)-' \
+ --disable-nls \
+ --disable-python
+ $(MAKE) -C '$(1).native' -j '$(JOBS)' install
+
# yasm is always static
cd '$(1)' && '$(1)/configure' \
--host='$(TARGET)' \