summaryrefslogtreecommitdiffstats
path: root/src/hdf5.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2012-12-05 11:53:33 (GMT)
committerTony Theodore <tonyt@logyst.com>2012-12-05 11:53:33 (GMT)
commit3b80e4667a2bcbf9274b93337c443c75795b2dfa (patch)
tree7c04508c19494e305bb3f06338ab2442005cbde4 /src/hdf5.mk
parentc1f8f45486d9c315a331b508589b0570d2ef08c2 (diff)
downloadmxe-3b80e4667a2bcbf9274b93337c443c75795b2dfa.zip
mxe-3b80e4667a2bcbf9274b93337c443c75795b2dfa.tar.gz
mxe-3b80e4667a2bcbf9274b93337c443c75795b2dfa.tar.bz2
package hdf5: bypass platform detection executables and use cross ar
Diffstat (limited to 'src/hdf5.mk')
-rw-r--r--src/hdf5.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hdf5.mk b/src/hdf5.mk
index 49333cf..f0f5cf0 100644
--- a/src/hdf5.mk
+++ b/src/hdf5.mk
@@ -22,7 +22,8 @@ define $(PKG)_BUILD
--disable-direct-vfd \
--prefix='$(PREFIX)/$(TARGET)' \
CPPFLAGS="-DH5_HAVE_WIN32_API -D__MSVCRT_VERSION__=0x0800" \
- LIBS="-lmsvcr80"
+ LIBS="-lmsvcr80" \
+ AR='$(TARGET)-ar'
$(MAKE) -C '$(1)'/src -j '$(JOBS)'
$(MAKE) -C '$(1)'/src -j 1 install
$(MAKE) -C '$(1)'/c++/src -j '$(JOBS)'