Skip to content
This repository
Browse code

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...
commit c393853b4e04e0aae3b12f74ce2a06b482aea2e4 1 parent 5641725
Isaac Z. Schlueter isaacs authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  configure
2  configure
@@ -265,6 +265,8 @@ def configure_node(o):
265 265 # SunOS, and we haven't implemented it.)
266 266 if sys.platform.startswith('sunos'):
267 267 o['variables']['node_use_dtrace'] = b(not options.without_dtrace);
  268 + # Strict aliasing causes problems with the V8 snapshots on SunOS
  269 + o['variables']['strict_aliasing'] = b(False);
268 270 elif b(options.with_dtrace) == 'true':
269 271 raise Exception('DTrace is currently only supported on SunOS systems.')
270 272 else:

0 comments on commit c393853

Please sign in to comment.
Something went wrong with that request. Please try again.