Index: Makefile |
diff --git a/Makefile b/Makefile |
index a6d4d135da3da11a6ba1fdeeee7e6255c697ca40..6eeac09a14875b9ee691ded0c164168f0e7d2445 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -163,6 +163,14 @@ endif |
ifeq ($(goma), on) |
GYPFLAGS += -Duse_goma=1 |
endif |
+# v8_os_page_size=0, when 0 or not specified use build OS page size |
+ifdef v8_os_page_size |
+ ifneq ($(v8_os_page_size), 0) |
+ ifneq ($(snapshot), off) |
+ GYPFLAGS += -Dv8_os_page_size=$(v8_os_page_size) |
+ endif |
+ endif |
+endif |
# arm specific flags. |
# arm_version=<number | "default"> |
ifneq ($(strip $(arm_version)),) |