]> git.puffer.fish Git - mirror/frr.git/commit
build: use `--coverage` for gcov 9102/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 21 Jul 2021 09:23:23 +0000 (11:23 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 21 Jul 2021 15:12:02 +0000 (17:12 +0200)
commit81aff2127f35da2ec667bc60989cac7df7a8ef48
tree8f0dcd9a2451bdec352f6d2adf6b9858ca8fc961
parent63116a7008706988136785ffa011cefee0355193
build: use `--coverage` for gcov

libtool does not understand `-coverage` with a single dash.  Official
gcc docs also say `--coverage` rather than `-coverage`.  (clang lists
both.)

Also, for correct linking, libtool needs `--coverage` in LDFLAGS as
opposed to `-lgcov` (with the latter you get library ordering/deps
issues)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
configure.ac