buildroot/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
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