Improve binutils testsuite coverage for GNU/Hurd.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-gc / gc.exp
index 700544289c648b3c2cc7d965a920d0334bfba03d..ee9c97507110db3938827bf8a68075395aaf6f78 100644 (file)
@@ -93,7 +93,8 @@ run_dump_test "noent"
 run_dump_test "abi-note"
 run_dump_test "start"
 if { [is_remote host] || [which $CC] != 0 } {
-    if { [istarget "*-*-linux*"] } {
+    if { [istarget "*-*-linux*"]
+        || [istarget "*-*-gnu*"] } {
        ld_compile "$CC -fPIC $CFLAGS $cflags" $srcdir/$subdir/pr11218-1.c tmpdir/pr11218-1.o
        ld_simple_link $ld tmpdir/pr11218-1.so "-shared tmpdir/pr11218-1.o"
        ld_compile "$CC -c $CFLAGS $cflags" $srcdir/$subdir/pr11218-2.c tmpdir/pr11218-2.o
This page took 0.023777 seconds and 4 git commands to generate.