projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5062741
)
build: disable -fvisibility=hidden if gcc < 4.0.0
author
Ben Noordhuis
<info@bnoordhuis.nl>
Mon, 5 Mar 2012 16:01:59 +0000
(17:01 +0100)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Mon, 5 Mar 2012 16:03:27 +0000
(17:03 +0100)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
27ef84e
..
00a8ed0
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-215,9
+215,9
@@
def configure_node(o):
o['variables']['strict_aliasing'] = b(
'clang' in CC or gcc_version() >= [False, 4, 6, 0])
- #
TODO move to node.gyp
- if
sys.platform == 'sunos5'
:
- o['variables']['visibility'] = ''
# FIXME -fvisibility=hidden, should be a gcc check
+ #
clang has always supported -fvisibility=hidden, right?
+ if
'clang' not in CC and gcc_version() < [False, 4, 0, 0]
:
+ o['variables']['visibility'] = ''
def configure_libz(o):