summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-11-05 18:16:18 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-11-05 18:39:34 +0100
commitd461a0763f791fce9ce59bd51b85ca4af93e79ec (patch)
tree517975861c66f8ddba31a890fe0ddc517b3e59c8 /common.gypi
parent30ce3ebca33d8877f88be95458c817e4f668028d (diff)
downloadandroid-node-v8-d461a0763f791fce9ce59bd51b85ca4af93e79ec.tar.gz
android-node-v8-d461a0763f791fce9ce59bd51b85ca4af93e79ec.tar.bz2
android-node-v8-d461a0763f791fce9ce59bd51b85ca4af93e79ec.zip
build: omit -gline-tables-only for --enable-asan
`-gline-tables-only` is a clang-only flag. Drop it, it's not needed for address sanitizer-enabled builds and it makes it impossible to build with gcc. Fixes: https://github.com/nodejs/node/issues/3656 PR-URL: https://github.com/nodejs/node/pull/3680 Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi1
1 files changed, 0 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi
index dc7f9b6757..5b8b2c09d6 100644
--- a/common.gypi
+++ b/common.gypi
@@ -183,7 +183,6 @@
'-fsanitize=address',
'-DLEAK_SANITIZER'
],
- 'cflags_cc+': [ '-gline-tables-only' ],
'cflags!': [ '-fomit-frame-pointer' ],
'ldflags': [ '-fsanitize=address' ],
}],