summaryrefslogtreecommitdiffstats
path: root/src/lapack.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/lapack.mk')
-rw-r--r--src/lapack.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lapack.mk b/src/lapack.mk
index c2aad44..ddfb3bf 100644
--- a/src/lapack.mk
+++ b/src/lapack.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' \
-DCMAKE_AR='$(PREFIX)/bin/$(TARGET)-ar' \
-DCMAKE_RANLIB='$(PREFIX)/bin/$(TARGET)-ranlib' \
-DLAPACKE=ON \