summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-02-09 04:20:20 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-02-09 04:20:20 (GMT)
commit36555723f57064fb8be79aefe43e8de024d6b58f (patch)
tree84c43c347526ac1c4ec0d3d0185df06f87339116 /src
parentfada0957e7357dc2f1041979f0c9b433afdb19aa (diff)
downloadmxe-36555723f57064fb8be79aefe43e8de024d6b58f.zip
mxe-36555723f57064fb8be79aefe43e8de024d6b58f.tar.gz
mxe-36555723f57064fb8be79aefe43e8de024d6b58f.tar.bz2
package hdf5: rename test program and re-style test invocation
Diffstat (limited to 'src')
-rw-r--r--src/hdf5-test.cpp (renamed from src/hdf5-test.c)0
-rw-r--r--src/hdf5.mk6
2 files changed, 4 insertions, 2 deletions
diff --git a/src/hdf5-test.c b/src/hdf5-test.cpp
index b412c9e..b412c9e 100644
--- a/src/hdf5-test.c
+++ b/src/hdf5-test.cpp
diff --git a/src/hdf5.mk b/src/hdf5.mk
index 00c5545..8deab17 100644
--- a/src/hdf5.mk
+++ b/src/hdf5.mk
@@ -36,6 +36,8 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)'/hl/c++/src -j 1 install
## test hdf5
- '$(TARGET)-g++' -W -Wall -ansi '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-hdf5.exe' -lhdf5_hl -lhdf5 -lz
-
+ '$(TARGET)-g++' \
+ -W -Wall -Werror -ansi -pedantic \
+ '$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-hdf5.exe' \
+ -lhdf5_hl -lhdf5 -lz
endef