Revision 5ebc05f5 configure
configure | ||
---|---|---|
215 | 215 |
o['variables']['strict_aliasing'] = b( |
216 | 216 |
'clang' in CC or gcc_version() >= [False, 4, 6, 0]) |
217 | 217 |
|
218 |
# TODO move to node.gyp
|
|
219 |
if sys.platform == 'sunos5':
|
|
220 |
o['variables']['visibility'] = '' # FIXME -fvisibility=hidden, should be a gcc check
|
|
218 |
# clang has always supported -fvisibility=hidden, right?
|
|
219 |
if 'clang' not in CC and gcc_version() < [False, 4, 0, 0]:
|
|
220 |
o['variables']['visibility'] = '' |
|
221 | 221 |
|
222 | 222 |
|
223 | 223 |
def configure_libz(o): |
Also available in: Unified diff