diff options
author | Mark Brand <mabrand@mabrand.nl> | 2015-04-23 11:17:05 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2015-04-23 21:10:46 (GMT) |
commit | 6947d3245f9c76d9124a4c4f3c164154a75f3f62 (patch) | |
tree | 4c019c057003b388e01a8f97caff7d0911b9dd6d /src/itk.mk | |
parent | bd326e51e2d52b0c40eb5586398c5e58b9f4c602 (diff) | |
download | mxe-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.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |