summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-05-16 14:49:51 -0700
committerisaacs <i@izs.me>2012-05-16 14:49:51 -0700
commitc393853b4e04e0aae3b12f74ce2a06b482aea2e4 (patch)
tree060c5d550178317518e4b79aa788bb48d5944269 /configure
parent564172510de27bfa47944ab70e24a60b69ce2236 (diff)
downloadandroid-node-v8-c393853b4e04e0aae3b12f74ce2a06b482aea2e4.tar.gz
android-node-v8-c393853b4e04e0aae3b12f74ce2a06b482aea2e4.tar.bz2
android-node-v8-c393853b4e04e0aae3b12f74ce2a06b482aea2e4.zip
build: Set strict_aliasing on SunOS always
A build failure was introduced on c9676c9147e088171e60b1977ac239ded4f327df in SmartOS systems. This makes it build properly.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index fe3b5308c2..8633d48c31 100755
--- a/configure
+++ b/configure
@@ -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: