diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2009-12-15 12:03:05 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2009-12-15 12:03:05 +0100 |
commit | 962ea5b29b0ce1966359688f2dffc173073575c8 (patch) | |
tree | c232bf96dd79d17e56dc3f4d5be5d55a6aed0397 /Makefile | |
parent | 687d0958a31f6aee8e8e4d26360961327049d9a8 (diff) |
gcc: do not pass --with-pkgversion to gcc < 4.3
Commit 09c181f2891276c458de327d241151bab38bde0f added new options
passed to gcc configure to set --with-pkgversion and --with-bugurl, to
gcc >= gcc 4.3. To check this, it was checking that the GCC_VERSION
string does not contain 4.2.
Unfortunately, the test is bogus. It does a findstring on x4.2. (with
a final dot) but compares the result with x4.2 (without the final
dot).
The result is that even with 4.2 versions, the test was true, leading
--with-pkgversion and --with-bugurl being passed to gcc's configure
script.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions