summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2013-12-01 18:57:43 -0800
committerTimothy J Fontaine <tjfontaine@gmail.com>2013-12-01 18:57:43 -0800
commit6877e64fa8ebd1a1017bb4e298a007d98136c133 (patch)
tree52d6d9609740cf474b2248175f0cbccadab0abe4 /common.gypi
parentfcfaa392ae8c47da98f2b4f590b54dffa4f079dd (diff)
downloadandroid-node-v8-6877e64fa8ebd1a1017bb4e298a007d98136c133.tar.gz
android-node-v8-6877e64fa8ebd1a1017bb4e298a007d98136c133.tar.bz2
android-node-v8-6877e64fa8ebd1a1017bb4e298a007d98136c133.zip
build: include postmortem symbols on linux
Previously we were building the symbols, but the linker was garbage collecting the symbols because they weren't used. Inform the linker that we want to keep all symbols from v8 around.
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi
index 9ecfc4d2a3..abe46bed46 100644
--- a/common.gypi
+++ b/common.gypi
@@ -79,10 +79,12 @@
],
}],
['OS=="solaris"', {
- 'cflags': [ '-fno-omit-frame-pointer' ],
# pull in V8's postmortem metadata
'ldflags': [ '-Wl,-z,allextract' ]
}],
+ ['OS!="mac" and OS!="win"', {
+ 'cflags': [ '-fno-omit-frame-pointer' ],
+ }],
],
'msvs_settings': {
'VCCLCompilerTool': {