aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Prince <vincent.prince.fr@gmail.com>2019-05-06 13:14:06 +0200
committerKhem Raj <raj.khem@gmail.com>2019-05-06 08:32:04 -0700
commite6d2464e4151d3860ef4fb3a6dae7777a8987429 (patch)
treea72cc3aaa6299b06e4fcc4b6da451723fc85421f
parent609baab9be09e3e6a00e614f50a8e52217178978 (diff)
downloadmeta-openembedded-contrib-e6d2464e4151d3860ef4fb3a6dae7777a8987429.tar.gz
meta-openembedded-contrib-e6d2464e4151d3860ef4fb3a6dae7777a8987429.tar.bz2
meta-openembedded-contrib-e6d2464e4151d3860ef4fb3a6dae7777a8987429.zip
mongodb: Fix build with gcc
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-dbs/mongodb/mongodb_git.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/recipes-dbs/mongodb/mongodb_git.bb
index 53a9f66117..0f9000359a 100644
--- a/meta-oe/recipes-dbs/mongodb/mongodb_git.bb
+++ b/meta-oe/recipes-dbs/mongodb/mongodb_git.bb
@@ -21,12 +21,16 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.0 \
file://arm64-support.patch \
file://0001-IntelRDFPMathLib20U1-Check-for-__DEFINED_wchar_t.patch \
file://0001-Support-deprecated-resolver-functions.patch \
- file://0001-asio-Dont-use-experimental-with-clang.patch \
"
SRC_URI_append_libc-musl ="\
file://0002-Fix-default-stack-size-to-256K.patch \
file://0004-wiredtiger-Disable-strtouq-on-musl.patch \
"
+
+SRC_URI_append_toolchain-clang = "\
+ file://0001-asio-Dont-use-experimental-with-clang.patch \
+ "
+
S = "${WORKDIR}/git"
COMPATIBLE_HOST ?= '(x86_64|i.86|powerpc64|arm|aarch64).*-linux'