summaryrefslogtreecommitdiff
path: root/deps/v8/Makefile.nacl
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/Makefile.nacl')
-rw-r--r--deps/v8/Makefile.nacl3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/Makefile.nacl b/deps/v8/Makefile.nacl
index fc3eb28ae..1d34a3b30 100644
--- a/deps/v8/Makefile.nacl
+++ b/deps/v8/Makefile.nacl
@@ -77,6 +77,9 @@ GYPENV += host_os=${HOST_OS}
# ICU doesn't support NaCl.
GYPENV += v8_enable_i18n_support=0
+# Disable strict aliasing - v8 code often relies on undefined behavior of C++.
+GYPENV += v8_no_strict_aliasing=1
+
NACL_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(NACL_BUILDS))
.SECONDEXPANSION:
# For some reason the $$(basename $$@) expansion didn't work here...