summaryrefslogtreecommitdiffstats
path: root/src/lapack.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-03-10 02:35:18 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-03-10 02:35:18 (GMT)
commit97ed4bc4d49d2cb398f675eb71a652d068955657 (patch)
treee1db54711e81c3bc5f202005ca159541edcf1358 /src/lapack.mk
parentbe1395f48f3bdcae881f80bc7e263723ae8fcf19 (diff)
downloadmxe-97ed4bc4d49d2cb398f675eb71a652d068955657.zip
mxe-97ed4bc4d49d2cb398f675eb71a652d068955657.tar.gz
mxe-97ed4bc4d49d2cb398f675eb71a652d068955657.tar.bz2
package lapack: fix fortran flags on 64-bit builds
Diffstat (limited to 'src/lapack.mk')
-rw-r--r--src/lapack.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lapack.mk b/src/lapack.mk
index a0fdfa3..80b3521 100644
--- a/src/lapack.mk
+++ b/src/lapack.mk
@@ -22,6 +22,7 @@ define $(PKG)_BUILD
-DCMAKE_AR='$(PREFIX)/bin/$(TARGET)-ar' \
-DCMAKE_RANLIB='$(PREFIX)/bin/$(TARGET)-ranlib' \
-DLAPACKE=ON \
+ -DCMAKE_Fortran_FLAGS=$(if $(findstring x86_64,$(TARGET)),-fdefault-integer-8) \
.
cp '$(1)/lapacke/include/lapacke_mangling_with_flags.h' '$(1)/lapacke/include/lapacke_mangling.h'
$(MAKE) -C '$(1)/SRC' -j '$(JOBS)' install