From: Timothy J Fontaine Date: Tue, 18 Feb 2014 04:29:30 +0000 (-0800) Subject: build: don't enable gc-sections X-Git-Tag: v0.11.12~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5eadcfa199298d6b6f14df43cfcdd5b478c6208;p=platform%2Fupstream%2Fnodejs.git 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. --- 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.