aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/leveldb/leveldb_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-09-21 20:23:15 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-10-02 12:35:39 +0000
commitdb68fbc7846ae9e950d907c18056d29dcdc81374 (patch)
treed219b48f6f131742f33fd3d1312c1ce373024aab /meta-oe/recipes-extended/leveldb/leveldb_git.bb
parent107071acc6a0694db61a64b5b8c926790fa14bcf (diff)
downloadmeta-openembedded-contrib-db68fbc7846ae9e950d907c18056d29dcdc81374.tar.gz
leveldb: Fix parallel build
Add build parallelism, since we do not use oe_runmake Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/leveldb/leveldb_git.bb')
-rw-r--r--meta-oe/recipes-extended/leveldb/leveldb_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/leveldb/leveldb_git.bb b/meta-oe/recipes-extended/leveldb/leveldb_git.bb
index dfe4b459ac..8fec89c6f1 100644
--- a/meta-oe/recipes-extended/leveldb/leveldb_git.bb
+++ b/meta-oe/recipes-extended/leveldb/leveldb_git.bb
@@ -10,6 +10,7 @@ PV = "1.20+git${SRCPV}"
SRC_URI = "git://github.com/google/${BPN}.git \
file://0001-build_detect_platform-Check-for-__SSE4_2__.patch \
file://0002-makefile-build-SHARED_MEMENVLIB.patch \
+ file://0001-Makefile-Fix-parallel-build.patch \
"
S = "${WORKDIR}/git"
@@ -19,7 +20,7 @@ inherit utils
do_compile() {
# do not use oe_runmake. oe_runmake pass to make compilation arguments and override
# leveldb makefile variable CFLAGS and broke leveldb build.
- CFLAGS="${CFLAGS}" make || die
+ CFLAGS="${CFLAGS}" make ${PARALLEL_MAKE}|| die
}
do_install() {