diff options
Diffstat (limited to 'src/hdf5.mk')
-rw-r--r-- | src/hdf5.mk | 6 |
1 files changed, 4 insertions, 2 deletions
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 |