diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-08-09 18:09:38 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-08-09 18:28:32 +0200 |
commit | 63a1212a42bb0c5fa8f1d3d847a5e0fb6126d1c4 (patch) | |
tree | ab66d043ee65aca03197a4589350670071e82016 /afms | |
parent | c3140e23ff7a22e3b4126a2d12ee90dfdcd19ce2 (diff) |
try to ensure not testing GCC version when using Clang
Clang reports itself as GCC 4.2.1 when asked the GCC way, which is about
as good an answer as any, since there's no good mapping between them.
So when testing GCC version, Clang would be usually considered too old,
and therefore the proper way is to do a configure check if possible.
GCC version should be only used for GCC-specific things such as avoiding
a bug in a specific GCC version, and such testing should first check
the compiler is not Clang.
Rename GCCVER to GCC_VERSION and use it throughout the build system
where needed. As it's empty for anything that's not GCC, this should
lead to errors when used incorrectly.
Change-Id: Iea96bbaf5d8ceabefa25be88576eeb4115384937
Diffstat (limited to 'afms')
0 files changed, 0 insertions, 0 deletions