Permalink
Browse files

build: fixups for sunos

  • Loading branch information...
1 parent d7c16fa commit e4e1917936d42d0d854c7c1467041756f40522b8 @bnoordhuis bnoordhuis committed Aug 31, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 configure-gyp
View
5 configure-gyp
@@ -150,7 +150,10 @@ def configure_node(o):
o['variables']['node_use_dtrace'] = 'true' if options.with_dtrace else 'false'
o['variables']['host_arch'] = host_arch()
o['variables']['target_arch'] = target_arch()
- o['variables']['visibility'] = '' # -fvisibility=hidden doesn't work with older gccs
+
+ # TODO move to node.gyp
+ if sys.platform == 'sunos5':
+ o['variables']['visibility'] = '' # FIXME -fvisibility=hidden, should be a gcc check
def configure_libz(o):

0 comments on commit e4e1917

Please sign in to comment.