Summary: minor, check certain compiler flags regardless of CC flavour
authorSebastian Freundt <hroptatyr@fresse.org>
Sun, 1 Jan 2012 21:04:29 +0000 (21:04 +0000)
committerSebastian Freundt <hroptatyr@fresse.org>
Sun, 1 Jan 2012 21:04:29 +0000 (21:04 +0000)
commit804807b1a189cdec25cb16ffb290946447cc0d1c
tree9e94fea1d1e0d5dfc89981afe29c4fe9faca4daf
parentc52e5ab7894cb2f5aef6d853a103cb282af58eb8
Summary: minor, check certain compiler flags regardless of CC flavour
Keywords: bldchn

This changeset, in preparation to upcoming clang support, checks for
certain compiler flags (warnings at the moment) regardless of flavour.
It seems many compilers actually support a lot more gcc flags than gcc
itself, so check for them without checking for the flavour first.

This might break Sun studio build but Sun isn't shining anymore, is it?

* m4/sxe-compiler.m4: check for warning flags irrespective of CC flavour

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
m4/sxe-compiler.m4