Index: Makefile |
diff --git a/Makefile b/Makefile |
index c2caf40f4dc0968fb4957fff5a0c7b576c9a9831..28c1af2e07f498fe6bd2c3d59a30335ce500d430 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -220,6 +220,12 @@ |
GYPFLAGS += -Darm_test_noprobe=on |
endif |
+# Optionally enable wasm prototype. |
+# Assume you've placed a link to v8-native-prototype in third_party/wasm. |
+ifeq ($(wasm), on) |
+ GYPFLAGS += -Dv8_wasm=1 |
+endif |
+ |
# ----------------- available targets: -------------------- |
# - "grokdump": rebuilds heap constants lists used by grokdump |
# - any arch listed in ARCHES (see below) |