From c393853b4e04e0aae3b12f74ce2a06b482aea2e4 Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 16 May 2012 14:49:51 -0700 Subject: [PATCH] build: Set strict_aliasing on SunOS always A build failure was introduced on c9676c9147e088171e60b1977ac239ded4f327df in SmartOS systems. This makes it build properly. --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index fe3b5308c26a..8633d48c31d0 100755 --- a/configure +++ b/configure @@ -265,6 +265,8 @@ def configure_node(o): # SunOS, and we haven't implemented it.) if sys.platform.startswith('sunos'): o['variables']['node_use_dtrace'] = b(not options.without_dtrace); + # Strict aliasing causes problems with the V8 snapshots on SunOS + o['variables']['strict_aliasing'] = b(False); elif b(options.with_dtrace) == 'true': raise Exception('DTrace is currently only supported on SunOS systems.') else: