toolchain that just contains the binutils - ie without a compiler.
* lib/ld-lib.exp (check_lto_available): Check that a compiler is
available before testing for LTO support.
+2014-07-07 Nick Clifton <nickc@redhat.com>
+
+ * lib/ld-lib.exp (check_lto_available): Check that a compiler is
+ available before testing for LTO support.
+
2014-07-07 Alan Modra <amodra@gmail.com>
* config/default.exp: Don't make tmpdir/gas. Put as symlink into
global CC
if {![info exists lto_available_saved]} {
+ if { [which $CC] == 0 } {
+ set lto_available_saved 0
+ return 0
+ }
# Check if gcc supports -flto -fuse-linker-plugin
set flags ""
if [board_info [target_info name] exists cflags] {