mongodb: build with mmapv1 suport for 32bit platforms (#4157)
This commit is contained in:
parent
1afd706ab4
commit
7bf493df19
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mongodb'
|
||||
pkgname=mongodb
|
||||
version=3.2.6
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="mongodb-src-r${version}"
|
||||
hostmakedepends="scons"
|
||||
makedepends="boost-devel pcre-devel snappy-devel libressl-devel libpcap-devel
|
||||
|
@ -37,8 +37,10 @@ do_configure() {
|
|||
esac
|
||||
}
|
||||
do_build() {
|
||||
# Choose storage engine
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*|aarch64*) _scons_args="--wiredtiger=on --use-system-wiredtiger";;
|
||||
i686*|arm*) _scons_args="--wiredtiger=off --mmapv1=on";;
|
||||
*) _scons_args="--wiredtiger=off";;
|
||||
esac
|
||||
scons core tools ${makejobs} \
|
||||
|
|
Loading…
Reference in New Issue