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:
Родитель
30ce3ebca3
Коммит
d461a0763f
|
@ -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' ],
|
||||||
}],
|
}],
|
||||||
|
|
Загрузка…
Ссылка в новой задаче