2008-02-06 23:06:50 +00:00
|
|
|
#
|
2012-05-29 15:52:43 +00:00
|
|
|
# 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/.
|
2008-02-06 23:06:50 +00:00
|
|
|
|
2012-12-07 08:32:24 +00:00
|
|
|
ifndef MOZ_JEMALLOC3
|
2014-12-10 01:50:44 +00:00
|
|
|
# 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
|
|
|
|
|
2008-04-30 07:14:44 +00:00
|
|
|
ifeq ($(OS_ARCH),SunOS)
|
|
|
|
ifndef GNU_CC
|
|
|
|
MODULE_OPTIMIZE_FLAGS = -xO5
|
|
|
|
endif
|
|
|
|
endif
|
2012-06-07 08:41:59 +00:00
|
|
|
endif
|
2008-02-06 23:06:50 +00:00
|
|
|
|