mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1141660 - Always export memalign from jemalloc, even on Windows. r=njn
This commit is contained in:
parent
6ae5fb04eb
commit
b7674a4e26
@ -9092,9 +9092,11 @@ esac
|
||||
|
||||
if test -z "$MOZ_NATIVE_JEMALLOC" -a "$MOZ_MEMORY" && test -n "$MOZ_JEMALLOC3" -o -n "$MOZ_REPLACE_MALLOC"; then
|
||||
ac_configure_args="--build=$build --host=$target --enable-stats --with-jemalloc-prefix=je_ --disable-valgrind"
|
||||
# We're using memalign for _aligned_malloc in memory/build/mozmemory_wrap.c
|
||||
# on Windows, so just export memalign on all platforms.
|
||||
ac_configure_args="$ac_configure_args ac_cv_func_memalign=yes"
|
||||
if test -n "$MOZ_REPLACE_MALLOC"; then
|
||||
# When using replace_malloc, we always want memalign and valloc exported from jemalloc.
|
||||
ac_configure_args="$ac_configure_args ac_cv_func_memalign=yes"
|
||||
# When using replace_malloc, we always want valloc exported from jemalloc.
|
||||
ac_configure_args="$ac_configure_args ac_cv_func_valloc=yes"
|
||||
fi
|
||||
if test -n "$MOZ_JEMALLOC3"; then
|
||||
|
Loading…
Reference in New Issue
Block a user