From: Johan Oudinet <johan.oudinet@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5
Date: Wed, 6 Dec 2017 15:47:53 +0100 [thread overview]
Message-ID: <20171206144753.3603-1-johan.oudinet@gmail.com> (raw)
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 <johan.oudinet@gmail.com>
---
package/flann/flann.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/flann/flann.mk b/package/flann/flann.mk
index e777fd8b2e..ef61815bba 100644
--- a/package/flann/flann.mk
+++ b/package/flann/flann.mk
@@ -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))
--
2.14.1
next reply other threads:[~2017-12-06 14:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-06 14:47 Johan Oudinet [this message]
2017-12-06 14:50 ` [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5 Johan Oudinet
2017-12-06 22:48 ` Thomas Petazzoni
2017-12-27 11:35 ` Peter Korsgaard
2017-12-28 22:43 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171206144753.3603-1-johan.oudinet@gmail.com \
--to=johan.oudinet@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox