From: Ben Noordhuis Date: Thu, 5 Nov 2015 17:16:18 +0000 (+0100) Subject: build: omit -gline-tables-only for --enable-asan X-Git-Tag: v4.2.5~171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6c25335eab8aad68d24502a59a3312ba05c588d;p=platform%2Fupstream%2Fnodejs.git 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 --- diff --git a/common.gypi b/common.gypi index dc7f9b6..5b8b2c0 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' ], }],