@@ -12,11 +12,7 @@ stdenv.mkDerivation (rec {
1212 # By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which
1313 # then stops downstream builds (mariadb in particular) from detecting it. This
1414 # option should remove the prefix and give us a working jemalloc.
15− configureFlags = stdenv.lib.optional stdenv.isDarwin "--with-jemalloc-prefix="
16− # jemalloc is unable to correctly detect transparent hugepage support on
17− # ARM (https://github.com/jemalloc/jemalloc/issues/526), and the default
18− # kernel ARMv6/7 kernel does not enable it, so we explicitly disable support
19− ++ stdenv.lib.optional stdenv.isAarch32 "--disable-thp";
15+ configureFlags = stdenv.lib.optional stdenv.isDarwin "--with-jemalloc-prefix=";
2016 doCheck = true;
2117
2218 enableParallelBuilding = true;