Add HOSTING_SLIBS and use it for -pie
[deliverable/binutils-gdb.git] / ld / testsuite / config / default.exp
index d540f1992a7716dce8d55d4479a11bdf53798e6b..1d3ce6a03f1462704a17c87f17bdb9524068d7e6 100644 (file)
@@ -139,11 +139,11 @@ proc get_target_emul {} {
 }
 
 if [isnative] {
-    foreach x {HOSTING_CRT0 HOSTING_SCRT0 HOSTING_LIBS} {
+    foreach x {HOSTING_CRT0 HOSTING_SCRT0 HOSTING_LIBS HOSTING_SLIBS} {
        get_link_files $x
     }
 } else {
-    foreach x {HOSTING_CRT0 HOSTING_SCRT0 HOSTING_LIBS} { set $x "" }
+    foreach x {HOSTING_CRT0 HOSTING_SCRT0 HOSTING_LIBS HOSTING_SLIBS} { set $x "" }
 }
 if ![info exists HOSTING_EMU] { set HOSTING_EMU "-m [get_target_emul]" }
 
This page took 0.022738 seconds and 4 git commands to generate.