build: Set strict_aliasing on SunOS always

A build failure was introduced on c9676c9147
in SmartOS systems.  This makes it build properly.
This commit is contained in:
isaacs 2012-05-16 14:49:51 -07:00
parent 564172510d
commit c393853b4e

2
configure vendored
View File

@ -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: