mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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:
parent
564172510d
commit
c393853b4e
2
configure
vendored
2
configure
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user