aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Prince <vincent.prince.fr@gmail.com>2019-05-06 13:14:06 +0200
committerArmin Kuster <akuster808@gmail.com>2019-05-18 07:30:50 -0700
commitc16c6de66118d324376f9528294766436f7946c5 (patch)
tree1c616a8a1041eb37ab094f665876cb7e12f8eefa
parent9923b210b46f167f57c563491ef2527fe2a61bd4 (diff)
downloadmeta-openembedded-contrib-c16c6de66118d324376f9528294766436f7946c5.tar.gz
mongodb: Fix build with gcc
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@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'