summaryrefslogtreecommitdiffstats
path: root/src/hdf5.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-07-25 08:36:14 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-07-25 08:36:14 (GMT)
commit25a3a7f0ff01c45f24eb15f63cadbe904a54cec1 (patch)
tree5d16fcf54873354ec2ea27316a4dc8cf0c251416 /src/hdf5.mk
parent8ff8097dbd0db15fa6968118ae1af5d539094d41 (diff)
downloadmxe-25a3a7f0ff01c45f24eb15f63cadbe904a54cec1.zip
mxe-25a3a7f0ff01c45f24eb15f63cadbe904a54cec1.tar.gz
mxe-25a3a7f0ff01c45f24eb15f63cadbe904a54cec1.tar.bz2
package hdf5: add prefixed compiler wrappers and add to cmake toolchain file
Diffstat (limited to 'src/hdf5.mk')
-rw-r--r--src/hdf5.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hdf5.mk b/src/hdf5.mk
index 78dea24..2b9a5fa 100644
--- a/src/hdf5.mk
+++ b/src/hdf5.mk
@@ -51,6 +51,10 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)'/hl/c++/src -j '$(JOBS)'
$(MAKE) -C '$(1)'/hl/c++/src -j 1 install
+ # install prefixed wrapper scripts
+ $(INSTALL) -m755 '$(1)'/tools/misc/h5cc '$(PREFIX)/bin/$(TARGET)-h5cc'
+ $(INSTALL) -m755 '$(1)'/c++/src/h5c++ '$(PREFIX)/bin/$(TARGET)-h5c++'
+
## test hdf5
'$(TARGET)-g++' \
-W -Wall -Werror -ansi -pedantic \