Browse Source

build: don't enable gc-sections

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.
v0.11.12-release
Timothy J Fontaine 11 years ago
parent
commit
e5eadcfa19
  1. 3
      common.gypi

3
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.

Loading…
Cancel
Save