Browse Source

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>
v4.x
Ben Noordhuis 9 years ago
committed by Myles Borins
parent
commit
e6c25335ea
  1. 1
      common.gypi

1
common.gypi

@ -183,7 +183,6 @@
'-fsanitize=address',
'-DLEAK_SANITIZER'
],
'cflags_cc+': [ '-gline-tables-only' ],
'cflags!': [ '-fomit-frame-pointer' ],
'ldflags': [ '-fsanitize=address' ],
}],

Loading…
Cancel
Save