buildrootschalter/toolchain/toolchain-external
Peter Korsgaard d8e1ecb855 ext-tool.mk: fix SUPPORT_LIB_DIR calculation for toolchains without libstdc++
SUPPORT_LIB_DIR would get resolved to the main buildroot directory for
external toolchains without C++ support, as:

 - gcc -print-file-name=<nonexisting-file> returns <nonexisting-file>
 - readlink -f <nonexisting-file> returns $PWD/<nonexisting-file>

So fix it by ensuring output of gcc -print-file-name actually exists
before using it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-15 22:44:17 +02:00
..
Config.in external-toolchain: add support for Linaro 2012.04 2012-05-07 17:08:37 +02:00
ext-tool.mk ext-tool.mk: fix SUPPORT_LIB_DIR calculation for toolchains without libstdc++ 2012-05-15 22:44:17 +02:00
ext-toolchain-wrapper.c ext-toolchain: Automatically set -m64 if the architecture is x86_64 2012-03-15 00:00:57 +01:00