aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-06-24 00:09:58 +0000
committerJakub Jirutka <jakub@jirutka.cz>2022-06-25 14:23:34 +0000
commit8fcbc2992b97e68048ccde3fa6a9460dc487114a (patch)
tree67ee400b5cc139e00842ca4dbecb0b9ce180e339
parent44e06c6feb9b96407d875652810ac671176e3b40 (diff)
downloadaports-8fcbc2992b97e68048ccde3fa6a9460dc487114a.tar.gz
aports-8fcbc2992b97e68048ccde3fa6a9460dc487114a.tar.bz2
aports-8fcbc2992b97e68048ccde3fa6a9460dc487114a.tar.xz
testing/mimalloc1: fix aligned_alloc detection
-rw-r--r--testing/mimalloc1/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/mimalloc1/APKBUILD b/testing/mimalloc1/APKBUILD
index ac41c76d61..f15c304784 100644
--- a/testing/mimalloc1/APKBUILD
+++ b/testing/mimalloc1/APKBUILD
@@ -4,7 +4,7 @@
pkgname=mimalloc1
_projname=mimalloc
pkgver=1.7.6
-pkgrel=0
+pkgrel=1
_pkgdesc="A compact general purpose allocator with excellent performance"
pkgdesc="$_pkgdesc (in secure mode)"
url="https://github.com/microsoft/mimalloc"
@@ -23,6 +23,8 @@ builddir="$srcdir/$_projname-$pkgver"
_buildtypes='debug insecure secure'
build() {
+ # https://github.com/microsoft/mimalloc/issues/597
+ export CFLAGS="$CFLAGS -D__USE_ISOC11"
_build out/debug -DCMAKE_BUILD_TYPE=Debug -DMI_DEBUG_FULL=ON
# This is called "release" build by upstream.