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 Myles Borins committed Jan 19, 2016
1 parent 46c59b7 commit e6c2533
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 e6c2533

Please sign in to comment.