diff options
author | Yann E. MORIN <yann.morin.1998@anciens.enib.fr> | 2010-04-07 00:50:10 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-07 09:49:20 +0200 |
commit | 6db57c69360087b3b7b8fc2b7764d2911ec24d43 (patch) | |
tree | cfc88eee4f085d3dc7a82b5807ce92707cbfea71 /package/torsmo/torsmo.mk | |
parent | 3e7de2af675e24e8a33495ccbd1515854d490122 (diff) |
toolchain: fix using external toolchains built with buildroot
The toolchains built with buildroot use specially crafted paths for their
sysroot and prefix. Fix that by asking gcc where it finds a file we
know by relative path to the sysroot.
This has the side effect of greatly simplifying the sysroot detection
in every cases tested so far (BR toolchains, CT-NG toolchains, and
CodeSourcery toolchains).
Fixes bug #851.
Thanks Thomas Petazzoni for the hint and some testings.
Thanks Grant Edwards for the report and the comments.
Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/torsmo/torsmo.mk')
0 files changed, 0 insertions, 0 deletions