summaryrefslogtreecommitdiffstats
path: root/src/yasm.mk
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-10-07 20:55:47 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-10-29 10:07:41 (GMT)
commitb826422ab87d00470967da77de4cca57e3c50be3 (patch)
tree77dcba2e2deb0d7b2333dcd7f951876b5cd0857e /src/yasm.mk
parent53e9f6e73b1ae56f6086ba8ec5a636c5fde20abc (diff)
downloadmxe-b826422ab87d00470967da77de4cca57e3c50be3.zip
mxe-b826422ab87d00470967da77de4cca57e3c50be3.tar.gz
mxe-b826422ab87d00470967da77de4cca57e3c50be3.tar.bz2
add new variables: BUILD_CROSS, BUILD_NATIVE
They are useful for applying flags only to cross or only to native targets.
Diffstat (limited to 'src/yasm.mk')
-rw-r--r--src/yasm.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yasm.mk b/src/yasm.mk
index cd7ecc1..e4f361a 100644
--- a/src/yasm.mk
+++ b/src/yasm.mk
@@ -19,7 +19,7 @@ endef
define $(PKG)_BUILD
# link to native yasm compiler on cross builds
- $(if $(call sne,$(TARGET),$(BUILD)),
+ $(if $(BUILD_CROSS),
ln -sf '$(PREFIX)/$(BUILD)/bin/yasm' '$(PREFIX)/bin/$(TARGET)-yasm')
# yasm is always static