global srcdir
global subdir
global env
- global CC_FOR_TARGET
global STRIP
global OBJCOPY
global OBJDUMP
set test "gnu-debuglink"
- if {![info exists CC_FOR_TARGET]} {
- set CC_FOR_TARGET $env(CC)
- }
- if { $CC_FOR_TARGET == "" } {
- unsupported $test
- return
- }
if { [target_compile $srcdir/$subdir/testprog.c tmpdir/testprog exectuable debug] != "" } {
unsupported "$test (build)"
}
}
-if {[isnative] && [is_elf_format]} then {
+if {[is_elf_format]} then {
test_gnu_debuglink
}