Skip to content

Commit

Permalink
build: omit -gline-tables-only for --enable-asan
Browse files Browse the repository at this point in the history
`-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: #3656
PR-URL: #3680
Reviewed-By: Fedor Indutny <[email protected]>
  • Loading branch information
bnoordhuis authored and rvagg committed Nov 6, 2015
1 parent 73e40f0 commit 8f5a255
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@
'-fsanitize=address',
'-DLEAK_SANITIZER'
],
'cflags_cc+': [ '-gline-tables-only' ],
'cflags!': [ '-fomit-frame-pointer' ],
'ldflags': [ '-fsanitize=address' ],
}],
Expand Down

0 comments on commit 8f5a255

Please sign in to comment.