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.
This commit is contained in:
Timothy J Fontaine 2014-02-17 20:29:30 -08:00
Родитель c0d73e6de1
Коммит e5eadcfa19
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

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