flann: Disable find package for HDF5
PATCH 2/2 flann: Disable find package for HDF5
The HDF5 package is used by flann for testing purpose only and is not part of buildroot packages. However, if present in the host, it will be used and trigger the unsafe header/library path used in cross-compilation error.
--- package/flann/flann.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/flann/flann.mk +2 -1
@@ -15,6 +15,7 @@ FLANN_CONF_OPTS = \ -DBUILD_MATLAB_BINDINGS=OFF \ -DBUILD_EXAMPLES=$(if $(BR2_PACKAGE_FLANN_EXAMPLES),ON,OFF) \ -DUSE_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF) \ - -DPYTHON_EXECUTABLE=OFF + -DPYTHON_EXECUTABLE=OFF \ + -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=TRUE $(eval $(cmake-package))
Signature · 1 line
2.14.1
PATCH 2/2 flann: Disable find package for HDF5
The title of this mail should be [Patch 1/1] flann...
Sorry.
Signature · 1 line
Johan
Thomas Petazzoni
AppliedPATCH 2/2 flann: Disable find package for HDF5
In reply to Johan OudinetHello,
Quoted 9 lines · Johan Oudinet
The HDF5 package is used by flann for testing purpose only and is not part of buildroot packages. However, if present in the host, it will be used and trigger the unsafe header/library path used in cross-compilation error.
Signed-off-by Johan Oudinet <[email protected]>--- package/flann/flann.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 2/2 flann: Disable find package for HDF5
In reply to Johan OudinetQuoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Johan" == Johan Oudinet <[email protected]> writes:
The HDF5 package is used by flann for testing purpose only and is not part of buildroot packages. However, if present in the host, it will be used and trigger the unsafe header/library path used in cross-compilation error.
Signed-off-by Johan Oudinet <[email protected]>
Committed to 2017.11.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 2/2 flann: Disable find package for HDF5
In reply to Johan OudinetQuoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Johan" == Johan Oudinet <[email protected]> writes:
The HDF5 package is used by flann for testing purpose only and is not part of buildroot packages. However, if present in the host, it will be used and trigger the unsafe header/library path used in cross-compilation error.
Signed-off-by Johan Oudinet <[email protected]>
Committed to 2017.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard