Commit e2d17670 authored by Leo's avatar Leo

community/xxhash: use XXH_FORCE_MEMORY_ACCESS

parent e2bce14c
......@@ -6,7 +6,7 @@ _pkgname=xxHash
pkgver=0.7.0
_pypkg=python-xxhash
_pyver=1.3.0
pkgrel=0
pkgrel=1
pkgdesc="Extremely fast non-cryptographic hash algorithm"
url="http://www.xxhash.com"
arch="all"
......@@ -21,6 +21,7 @@ builddir="$srcdir/"$_pkgname-$pkgver
_pybuilddir="$srcdir/"$_pypkg-$_pyver
build() {
export CFLAGS="$CFLAGS -DXXH_FORCE_MEMORY_ACCESS=1"
sed -i 's|--leak-check=yes|-v --leak-check=full --show-leak-kinds=all|' Makefile
make
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment