2008-02-06 15:06:50 -08:00
|
|
|
#
|
2012-05-29 08:52:43 -07: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 15:06:50 -08:00
|
|
|
|
2012-12-07 00:32:24 -08:00
|
|
|
ifndef MOZ_JEMALLOC3
|
2008-04-30 00:14:44 -07:00
|
|
|
ifeq ($(OS_ARCH),SunOS)
|
|
|
|
ifndef GNU_CC
|
|
|
|
MODULE_OPTIMIZE_FLAGS = -xO5
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2011-09-02 23:19:06 -07:00
|
|
|
ifeq (Linux,$(OS_TARGET))
|
2008-02-25 12:25:25 -08:00
|
|
|
#XXX: PGO on Linux causes problems here
|
|
|
|
# See bug 419470
|
|
|
|
NO_PROFILE_GUIDED_OPTIMIZE = 1
|
2008-02-06 15:06:50 -08:00
|
|
|
endif
|
2012-06-07 01:41:59 -07:00
|
|
|
endif
|
2008-02-06 15:06:50 -08:00
|
|
|
|
2012-12-07 00:32:24 -08:00
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/memory/build
|