From e5eadcfa199298d6b6f14df43cfcdd5b478c6208 Mon Sep 17 00:00:00 2001 From: Timothy J Fontaine Date: Mon, 17 Feb 2014 20:29:30 -0800 Subject: [PATCH] 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. --- common.gypi | 3 --- 1 file changed, 3 deletions(-) diff --git a/common.gypi b/common.gypi index 6d6a43d..4b8aa77 100644 --- 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. -- 2.7.4