Bug 800785 - unnecessary PGO for js shell. r=ted

This commit is contained in:
Makoto Kato 2012-10-23 16:42:19 +09:00
parent 486d4e430e
commit 43152978e1

View File

@ -18,6 +18,13 @@ CPPSRCS = \
jsheaptools.cpp \
$(NULL)
ifdef _MSC_VER
# unnecessary PGO for js shell. But gcc cannot turn off pgo because it is
# necessary to link PGO lib on gcc when a object/static lib are compiled
# for PGO.
NO_PROFILE_GUIDED_OPTIMIZE := 1
endif
DEFINES += -DEXPORT_JS_API
# Building against js_static requires that we declare mfbt sybols "exported"
# on its behalf.