зеркало из https://github.com/mozilla/pjs.git
always turn on BATCH_COMPILATION (ef won't build without it.) and allow building without jvmdi support. to enable jvmdi support, install the jvmdi.h file in ef/Debugger and setenv USE_JVMDI 1
This commit is contained in:
Родитель
68a37100ef
Коммит
46845dec22
|
@ -49,7 +49,7 @@ else
|
|||
CCC = gcc
|
||||
AS = gcc
|
||||
ASFLAGS += -x assembler-with-cpp
|
||||
CFLAGS += -fdollars-in-identifiers
|
||||
CFLAGS += -fdollars-in-identifiers
|
||||
EXC_FLAGS = -fexceptions
|
||||
EF_LIBS = -L$(DIST)/lib -lEF
|
||||
EF_LIB_FILES = $(DIST)/lib/libEF.a
|
||||
|
@ -61,6 +61,10 @@ endif
|
|||
CFLAGS += $(EXC_FLAGS)
|
||||
#LDFLAGS += $(NSPR_LIBS)
|
||||
|
||||
ifdef USE_JVMDI
|
||||
CFLAGS += -DUSE_JVMDI
|
||||
endif
|
||||
|
||||
ifeq ($(CPU_ARCH),x86)
|
||||
ARCH_DEFINES += -DGENERATE_FOR_X86
|
||||
NO_GENERIC = 1
|
||||
|
@ -89,10 +93,6 @@ endif
|
|||
ARCH_DEFINES += -DTARGET_CPU=$(CPU_ARCH)
|
||||
CFLAGS += $(ARCH_DEFINES)
|
||||
|
||||
ifndef BATCH_COMPILATION
|
||||
CFLAGS += -DBATCH_COMPILATION=0
|
||||
endif
|
||||
|
||||
#
|
||||
# Some tools.
|
||||
#
|
||||
|
|
Загрузка…
Ссылка в новой задаче