diff --git a/disabled-packages/libjemalloc/build.sh b/disabled-packages/libjemalloc/build.sh new file mode 100644 index 000000000..d4b59848c --- /dev/null +++ b/disabled-packages/libjemalloc/build.sh @@ -0,0 +1,7 @@ +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"