# Expect script for ld-mn10300 tests
-# Copyright (C) 2007-2018 Free Software Foundation, Inc.
+# Copyright (C) 2007-2019 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
set tmpdir tmpdir
set testname "Seg fault whilst linking one shared library into another when relaxation is enabled."
- if {![is_remote host] && [which $CC] == 0} then {
+ if { ![check_compiler_available] } then {
return
}