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:
Родитель
c0d73e6de1
Коммит
e5eadcfa19
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче