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