Permalink
Browse files

build: Set strict_aliasing on SunOS always

A build failure was introduced on c9676c9
in SmartOS systems.  This makes it build properly.
  • Loading branch information...
1 parent 5641725 commit c393853b4e04e0aae3b12f74ce2a06b482aea2e4 @isaacs isaacs committed May 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 configure
View
@@ -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:

0 comments on commit c393853

Please sign in to comment.