summaryrefslogtreecommitdiffstats
path: root/memory/mozjemalloc/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'memory/mozjemalloc/Makefile.in')
-rw-r--r--memory/mozjemalloc/Makefile.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/memory/mozjemalloc/Makefile.in b/memory/mozjemalloc/Makefile.in
new file mode 100644
index 000000000..6c47e1fa2
--- /dev/null
+++ b/memory/mozjemalloc/Makefile.in
@@ -0,0 +1,13 @@
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+ifndef MOZ_JEMALLOC4
+# Force optimize mozjemalloc on --disable-optimize builds.
+# This works around the issue that the Android NDK's definition of ffs is
+# broken when compiling without optimization, while avoiding to add yet another
+# configure test.
+MOZ_OPTIMIZE = 1
+endif
+