summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2014-02-17 20:29:30 -0800
committerTimothy J Fontaine <tjfontaine@gmail.com>2014-02-17 20:29:30 -0800
commite5eadcfa199298d6b6f14df43cfcdd5b478c6208 (patch)
tree13a32d3bf6fb362a94c29d19ad4958cfd0547dbc /common.gypi
parentc0d73e6de1b59003a01c58733eabee9c33d1f56b (diff)
downloadandroid-node-v8-e5eadcfa199298d6b6f14df43cfcdd5b478c6208.tar.gz
android-node-v8-e5eadcfa199298d6b6f14df43cfcdd5b478c6208.tar.bz2
android-node-v8-e5eadcfa199298d6b6f14df43cfcdd5b478c6208.zip
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.
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi3
1 files changed, 0 insertions, 3 deletions
diff --git a/common.gypi b/common.gypi
index 6d6a43d5ec..4b8aa77287 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.