From 0da533e84f0a4f32d200bf9568548bce1e5e315a Mon Sep 17 00:00:00 2001 From: Timothy J Fontaine Date: Mon, 8 Apr 2013 16:31:35 -0700 Subject: [PATCH] sunos: re-export entire library when static This is useful to make sure linker doesn't strip things like dtrace --- common.gypi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.gypi b/common.gypi index a5f11649..c3462821 100644 --- a/common.gypi +++ b/common.gypi @@ -197,6 +197,11 @@ }], ], }], + ['OS=="solaris"', { + 'cflags': [ '-fno-omit-frame-pointer' ], + # pull in V8's postmortem metadata + 'ldflags': [ '-Wl,-z,allextract' ] + }], ], }, }