From e2f1f28efd4236431b333fabe6c75aceba9678bc Mon Sep 17 00:00:00 2001 From: Kamel Bouhara Date: Thu, 10 Mar 2022 10:56:01 +0100 Subject: [PATCH] package/libodb-boost: add host variant Add host variant of libodb-boost required by the ODB compiler. The libodb-boost headers are needed at compile time, and therefore installed in $(HOST_DIR). Signed-off-by: Kamel Bouhara [Arnout: add -std=c++11] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libodb-boost/libodb-boost.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libodb-boost/libodb-boost.mk b/package/libodb-boost/libodb-boost.mk index bac5f1e78f..6deb67f943 100644 --- a/package/libodb-boost/libodb-boost.mk +++ b/package/libodb-boost/libodb-boost.mk @@ -12,6 +12,9 @@ LIBODB_BOOST_INSTALL_STAGING = YES LIBODB_BOOST_LICENSE = GPL-2.0 LIBODB_BOOST_LICENSE_FILES = LICENSE LIBODB_BOOST_DEPENDENCIES = boost libodb +HOST_LIBODB_BOOST_DEPENDENCIES = hoost-boost host-libodb LIBODB_BOOST_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" +HOST_LIBODB_BOOST_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11" $(eval $(autotools-package)) +$(eval $(host-autotools-package))