build: disable -fvisibility=hidden
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 30 Aug 2011 23:57:03 +0000 (23:57 +0000)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 12 Sep 2011 21:48:30 +0000 (21:48 +0000)
Not recognized by older versions of gcc.

configure-gyp

index edd21b1..f1d8a46 100755 (executable)
@@ -150,6 +150,7 @@ 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
 
 
 def configure_libz(o):