build: Set strict_aliasing on SunOS always
A build failure was introduced on c9676c9147e088171e60b1977ac239ded4f327df 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.)
|
# SunOS, and we haven't implemented it.)
|
||||||
if sys.platform.startswith('sunos'):
|
if sys.platform.startswith('sunos'):
|
||||||
o['variables']['node_use_dtrace'] = b(not options.without_dtrace);
|
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':
|
elif b(options.with_dtrace) == 'true':
|
||||||
raise Exception('DTrace is currently only supported on SunOS systems.')
|
raise Exception('DTrace is currently only supported on SunOS systems.')
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user