b601fd950a
2: upgrade v8-devel to 3.24.30. PR: ports/186373 [1] Submitted by: mat@ [1]
46 lines
1.9 KiB
Text
46 lines
1.9 KiB
Text
--- Makefile.orig 2014-02-04 10:07:31.000000000 +0800
|
|
+++ Makefile 2014-02-04 17:01:29.349287737 +0800
|
|
@@ -52,6 +52,14 @@ endif
|
|
ifdef console
|
|
GYPFLAGS += -Dconsole=$(console)
|
|
endif
|
|
+# clang=on
|
|
+ifeq ($(clang), on)
|
|
+ GYPFLAGS += -Dclang=1
|
|
+endif
|
|
+# use_system_icu=on
|
|
+ifeq ($(use_system_icu), on)
|
|
+ GYPFLAGS += -Duse_system_icu=1
|
|
+endif
|
|
# disassembler=on
|
|
ifeq ($(disassembler), on)
|
|
GYPFLAGS += -Dv8_enable_disassembler=1
|
|
@@ -233,7 +241,7 @@ NACL_ARCHES = nacl_ia32 nacl_x64
|
|
# List of files that trigger Makefile regeneration:
|
|
GYPFILES = build/all.gyp build/features.gypi build/standalone.gypi \
|
|
build/toolchain.gypi samples/samples.gyp src/d8.gyp \
|
|
- test/cctest/cctest.gyp tools/gyp/v8.gyp
|
|
+ tools/gyp/v8.gyp
|
|
|
|
# If vtunejit=on, the v8vtune.gyp will be appended.
|
|
ifeq ($(vtunejit), on)
|
|
@@ -386,8 +394,7 @@ clean: $(addsuffix .clean, $(ARCHES) $(A
|
|
# GYP file generation targets.
|
|
OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(BUILDS))
|
|
$(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)
|
|
- PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \
|
|
- PYTHONPATH="$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \
|
|
+ PYTHONPATH="$(shell pwd)/build/gyp/pylib:$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \
|
|
GYP_GENERATORS=make \
|
|
build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
|
|
-Ibuild/standalone.gypi --depth=. \
|
|
@@ -396,8 +403,7 @@ $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)
|
|
-S$(suffix $(basename $@))$(suffix $@) $(GYPFLAGS)
|
|
|
|
$(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE)
|
|
- PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \
|
|
- PYTHONPATH="$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \
|
|
+ PYTHONPATH="$(shell pwd)/build/gyp/pylib:$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \
|
|
GYP_GENERATORS=make \
|
|
build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
|
|
-Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS)
|