Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
build: Set strict_aliasing on SunOS always
Browse files Browse the repository at this point in the history
A build failure was introduced on c9676c9
in SmartOS systems.  This makes it build properly.
  • Loading branch information
isaacs committed May 16, 2012
1 parent 5641725 commit c393853
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure
Expand Up @@ -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:
Expand Down

0 comments on commit c393853

Please sign in to comment.