diff --git a/bazel/BUILD.jemalloc b/bazel/BUILD.jemalloc index ca5d6f6e421d..e0be47fd4446 100644 --- a/bazel/BUILD.jemalloc +++ b/bazel/BUILD.jemalloc @@ -15,7 +15,7 @@ configure_make( out_shared_libs = ["libjemalloc.so"], # See https://salsa.debian.org/debian/jemalloc/-/blob/c0a88c37a551be7d12e4863435365c9a6a51525f/debian/rules#L8-23 # for why we are setting "--with-lg-page" on non x86 hardware here. - configure_options = ["--disable-static", "--enable-prof"] + + configure_options = ["--disable-static", "--enable-prof", "--enable-prof-libunwind"] + select({ "@platforms//cpu:x86_64": [], "//conditions:default": ["--with-lg-page=16"],