This should make the NaCl build jobs green again.
authorjarin@chromium.org <jarin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Apr 2014 14:22:20 +0000 (14:22 +0000)
committerjarin@chromium.org <jarin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Apr 2014 14:22:20 +0000 (14:22 +0000)
BUG=
R=hpayer@chromium.org, jkummerow@chromium.org

Review URL: https://codereview.chromium.org/239333015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20854 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

Makefile.nacl

index fc3eb28..1d34a3b 100644 (file)
@@ -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...