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:
c0d73e6
)
build: don't enable gc-sections
author
Timothy J Fontaine
<tjfontaine@gmail.com>
Tue, 18 Feb 2014 04:29:30 +0000
(20:29 -0800)
committer
Timothy J Fontaine
<tjfontaine@gmail.com>
Tue, 18 Feb 2014 04:29:30 +0000
(20:29 -0800)
In some scenarios this will strip the DOF sections for DTrace, and in a
future world where we re-export all static libraries it would defeat
that purpose.
common.gypi
patch
|
blob
|
history
diff --git
a/common.gypi
b/common.gypi
index 6d6a43d5ece695c5aa2cf7445498ccf97603adc6..4b8aa772871ea8b80ea7ba7cf937fe2c56bc7c84 100644
(file)
--- a/
common.gypi
+++ b/
common.gypi
@@
-66,9
+66,6
@@
['OS=="solaris"', {
# pull in V8's postmortem metadata
'ldflags': [ '-Wl,-z,allextract' ]
- }, {
- # Doesn't work with the Solaris linker.
- 'ldflags': [ '-Wl,--gc-sections' ],
}],
['clang == 0 and gcc_version >= 40', {
'cflags': [ '-fno-tree-vrp' ], # Work around compiler bug.