Allow to compile for specific V8 version
This commit is contained in:
parent
8829230641
commit
44e57d9cfd
1 changed files with 8 additions and 1 deletions
|
|
@ -35,6 +35,13 @@ JSCENABLED = @JSCENABLED@
|
|||
|
||||
srcdir = @srcdir@
|
||||
|
||||
|
||||
ifneq (, $(V8_VERSION))
|
||||
JSV8_VERSION=$(V8_VERSION)
|
||||
else
|
||||
JSV8_VERSION=0x031110
|
||||
endif
|
||||
|
||||
# Regenerate Makefile if Makefile.in or config.status have changed.
|
||||
Makefile: $(srcdir)/Makefile.in ../../config.status
|
||||
cd ../.. && $(SHELL) ./config.status Tools/javascript/Makefile
|
||||
|
|
@ -42,7 +49,7 @@ Makefile: $(srcdir)/Makefile.in ../../config.status
|
|||
# These settings are provided by 'configure' (see '/configure.in')
|
||||
ifeq (1, $(JSV8ENABLED))
|
||||
JS_INTERPRETER_SRC_V8 = v8_shell.cxx
|
||||
JS_INTERPRETER_ENABLE_V8 = -DENABLE_V8
|
||||
JS_INTERPRETER_ENABLE_V8 = -DENABLE_V8 -DV8_VERSION=$(JSV8_VERSION)
|
||||
endif
|
||||
|
||||
ifeq (1, $(JSCENABLED))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue