Index: Makefile |
diff --git a/Makefile b/Makefile |
index bcf3bcca0d11c906be7e829ef66f6c7ed850db6d..f80b5ec8ddd88c7bcbcf2de7fa0ac9465163961c 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -129,6 +129,10 @@ ifeq ($(i18nsupport), off) |
GYPFLAGS += -Dv8_enable_i18n_support=0 |
TESTFLAGS += --noi18n |
endif |
+# deprecation_warnings=on |
+ifeq ($(deprecationwarnings), on) |
+ GYPFLAGS += -Dv8_deprecation_warnings=1 |
+endif |
# arm specific flags. |
# armv7=false/true |
ifeq ($(armv7), false) |