diff options
author | Krzysztof Konopko <kris@youview.com> | 2017-03-09 09:01:36 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-09 21:25:24 +0100 |
commit | 06cd604ec6d34f25b436ab729543418042a87e1c (patch) | |
tree | fd14e0a0093145c9a56a83d9044235518c3e39da /package/python/101-optional-pydoc.patch | |
parent | ece884a7042a1cfeb733c786714866087ad24d73 (diff) | |
download | buildroot-06cd604ec6d34f25b436ab729543418042a87e1c.tar.gz buildroot-06cd604ec6d34f25b436ab729543418042a87e1c.zip |
toolchain/external: use -dumpversion to check gcc version
Currently, `--version` option is used and later matched with a regex to get
the actual gcc version. There's a dedicated gcc option to do exactly that:
`-dumpversion`.
Also `--version` may return a string customised by a vendor that provides
the toolchain, which makes the current regex approach error prone. In
fact, this situation has been seen with a real customised toolchain.
Signed-off-by: Krzysztof Konopko <kris@youview.com>
Signed-off-by: Tomasz Szkutkowski <tomasz.szkutkowski@youview.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python/101-optional-pydoc.patch')
0 files changed, 0 insertions, 0 deletions