summaryrefslogtreecommitdiffstats
path: root/src/itk.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2015-04-23 11:17:05 (GMT)
committerMark Brand <mabrand@mabrand.nl>2015-04-23 21:10:46 (GMT)
commit6947d3245f9c76d9124a4c4f3c164154a75f3f62 (patch)
tree4c019c057003b388e01a8f97caff7d0911b9dd6d /src/itk.mk
parentbd326e51e2d52b0c40eb5586398c5e58b9f4c602 (diff)
downloadmxe-6947d3245f9c76d9124a4c4f3c164154a75f3f62.zip
mxe-6947d3245f9c76d9124a4c4f3c164154a75f3f62.tar.gz
mxe-6947d3245f9c76d9124a4c4f3c164154a75f3f62.tar.bz2
itk libdca libvpx openscenegraph: gcc 5 compatibility
Diffstat (limited to 'src/itk.mk')
-rw-r--r--src/itk.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/itk.mk b/src/itk.mk
index b0e82a1..f25af6c 100644
--- a/src/itk.mk
+++ b/src/itk.mk
@@ -16,6 +16,8 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ $(SED) -i 's^# error "Dunno about this gcc"^# warning "Dunno about this gcc"^;' \
+ '$(1)/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h'
mkdir '$(1).build'
cd '$(1).build' && cmake \
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
@@ -25,6 +27,7 @@ define $(PKG)_BUILD
-DBUILD_TESTING=FALSE \
-DBUILD_EXAMPLES=FALSE \
-DITK_USE_SYSTEM_HDF5=TRUE \
+ -DCMAKE_C_FLAGS='-std=gnu89' \
'$(1)'
$(MAKE) -C '$(1).build' -j '$(JOBS)' install VERBOSE=1
endef