summaryrefslogtreecommitdiffstats
path: root/src/cminpack.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/cminpack.mk')
-rw-r--r--src/cminpack.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cminpack.mk b/src/cminpack.mk
index 6095950..97709e9 100644
--- a/src/cminpack.mk
+++ b/src/cminpack.mk
@@ -17,8 +17,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- cd '$(1)' && cmake \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)'
+ cd '$(1)' && '$(TARGET)-cmake'
$(MAKE) -C '$(1)' -j $(JOBS)
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'