termux-packages/disabled-packages/libjemalloc/build.sh

8 lines
383 B
Bash
Raw Normal View History

2015-09-12 01:21:24 +02:00
TERMUX_PKG_HOMEPAGE=http://www.canonware.com/jemalloc/
TERMUX_PKG_DESCRIPTION="General-purpose scalable concurrent malloc(3) implementation"
TERMUX_PKG_VERSION=4.0.0
TERMUX_PKG_SRCURL=https://github.com/jemalloc/jemalloc/releases/download/${TERMUX_PKG_VERSION}/jemalloc-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_BUILD_IN_SRC="yes"
CPPFLAGS+=" -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1"