Commit Graph

6 Commits

Author SHA1 Message Date
loonycyborg
790d13e937 scons: fix strict hardened builds on Gentoo
(cherry-picked from commit 0c3ba36d68)
2018-10-07 03:23:46 +00:00
Ignacio R. Morelle
c28e3b633c scons: Exclude Clang from GCC version checks
SCons stupidly treats Clang as if it were GCC (hint: it's not) and that
causes the config check to fail due to the version symbols being
absent/not what we expect. So just ignore the GCC version when Clang is
detected, in the config test program; we can probably expect whoever is
using Clang to be able to deal with any issues that may arise from
attempting to use a Clang version we don't support.

As for why we don't test the Clang version number, according to
<http://clang.llvm.org/docs/LanguageExtensions.html#builtin-macros>,
"marketing version numbers should not be used to check for language
features, as different vendors use different numbering schemes." And
indeed, it is the case with the versions of Clang shipped with XCode
that they do not accurately reflect the upstream version they correspond
to and have weird version numbers such as 5 (as of this writing upstrema
hasn't even released version 4.0 yet). Such is life.
2016-11-03 18:12:13 -03:00
anatoly techtonik
e40196f89e scons: Fix imports 2014-06-03 01:37:26 +03:00
Alexander van Gessel
9f314cd978 Fix some executable properties. 2008-09-30 15:07:09 +01:00
Alexander van Gessel
0063d92356 Adjust a lot of svn properties. 2008-09-30 14:06:26 +01:00
Sergey Popov
5610e7f241 Moved all custom config checks to separate files. 2008-05-06 13:19:38 +00:00