configure.ac: drop -Wcovered-switch-default flags from llvm-config --cxxflags
commit7dd1a33bae6e7b5d0ca643de81d9cace3021a825
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 23 Oct 2015 12:11:29 +0000 (23 14:11 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 23 Oct 2015 12:11:31 +0000 (23 14:11 +0200)
tree2a72656ff9a0c057538c467a69a357f43bef0d14
parenta221583fe7ea578218df2693a12964599281453d
configure.ac: drop -Wcovered-switch-default flags from llvm-config --cxxflags

Some version of llvm-config include -Wcovered-switch-default in the output
of "llvm-config --cxxflags".  Since this flag is not recognized by gcc,
this prevents the clang headers from being detected when gcc is used
to compile pet.
Arguably, this flag should not be included in the output
of "llvm-config --cxxflags", but it does happen so remove it
from this output.

Reported-by: Tom Vander Aa <Tom.VanderAa@imec.be>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
configure.ac