summaryrefslogtreecommitdiffstats
path: root/src/lapack.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2012-08-25 14:11:23 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2012-08-25 14:11:23 (GMT)
commit070e7a680dcf1feebb76b79cf83b58788cb2b94c (patch)
tree54a30d1b71b0fffc71ad431bd0ecb2c3688ab104 /src/lapack.mk
parent82fe6a17c9fbb6d432eb22848ad9dc12fa9ea435 (diff)
downloadmxe-070e7a680dcf1feebb76b79cf83b58788cb2b94c.zip
mxe-070e7a680dcf1feebb76b79cf83b58788cb2b94c.tar.gz
mxe-070e7a680dcf1feebb76b79cf83b58788cb2b94c.tar.bz2
Revert "Move CMAKE_BUILD_TYPE, CMAKE_AR and CMAKE_RANLIB into toolchain file"
This reverts commit e57db6d8c9c7ecbe43dd1fdb3d17f07871dfc9fb. See http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-08/msg00028.html
Diffstat (limited to 'src/lapack.mk')
-rw-r--r--src/lapack.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lapack.mk b/src/lapack.mk
index 4b88d20..c9c8959 100644
--- a/src/lapack.mk
+++ b/src/lapack.mk
@@ -19,6 +19,8 @@ endef
define $(PKG)_BUILD
cd '$(1)' && cmake \
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
+ -DCMAKE_AR='$(PREFIX)/bin/$(TARGET)-ar' \
+ -DCMAKE_RANLIB='$(PREFIX)/bin/$(TARGET)-ranlib' \
.
$(MAKE) -C '$(1)/SRC' -j '$(JOBS)' install