forked from pool/MozillaThunderbird
042186d937
fix ppc64 build, disabled crashreporter for now OBS-URL: https://build.opensuse.org/request/show/92962 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=146
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From: Mike Hommey <mh@glandium.org>
|
|
Date: Sat, 20 Aug 2011 14:56:49 +0200
|
|
Subject: Bug 670719 - Only add -DENABLE_JIT=1 to CXXFLAGS if any of
|
|
trace/method/yarr jit is enabled.
|
|
|
|
---
|
|
mozilla/js/src/Makefile.in | 9 ++++++++-
|
|
1 files changed, 8 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/mozilla/js/src/Makefile.in b/mozilla/js/src/Makefile.in
|
|
index 79d4ae7..23320d1 100644
|
|
--- a/mozilla/js/src/Makefile.in
|
|
+++ b/mozilla/js/src/Makefile.in
|
|
@@ -439,6 +439,9 @@ else
|
|
###############################################
|
|
# BEGIN include sources for the Nitro assembler
|
|
#
|
|
+
|
|
+ENABLE_YARR_JIT = 1
|
|
+
|
|
VPATH += $(srcdir)/assembler \
|
|
$(srcdir)/assembler/wtf \
|
|
$(srcdir)/assembler/jit \
|
|
@@ -1099,7 +1102,11 @@ endif
|
|
# Needed to "configure" it correctly. Unfortunately these
|
|
# flags wind up being applied to all code in js/src, not just
|
|
# the code in js/src/assembler.
|
|
-CXXFLAGS += -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1
|
|
+CXXFLAGS += -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1
|
|
+
|
|
+ifneq (,$(ENABLE_YARR_JIT)$(ENABLE_TRACEJIT)$(ENABLE_METHODJIT))
|
|
+CXXFLAGS += -DENABLE_JIT=1
|
|
+endif
|
|
|
|
INCLUDES += -I$(srcdir)/assembler -I$(srcdir)/yarr
|
|
|
|
--
|