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>
This commit is contained in:
Ben Noordhuis 2015-11-05 18:16:18 +01:00
Родитель 30ce3ebca3
Коммит d461a0763f
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

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