diff options
Diffstat (limited to 'ld/testsuite/ld-elfweak/elfweak.exp')
-rw-r--r-- | ld/testsuite/ld-elfweak/elfweak.exp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ld/testsuite/ld-elfweak/elfweak.exp b/ld/testsuite/ld-elfweak/elfweak.exp index 3650f637d50..d827901efd7 100644 --- a/ld/testsuite/ld-elfweak/elfweak.exp +++ b/ld/testsuite/ld-elfweak/elfweak.exp @@ -384,11 +384,7 @@ if { [istarget mips*-*-*] && ! [at_least_gcc_version 4 3] } then { || [string match "*option ignored*" $exec_output] || [string match "*unrecognized option*" $exec_output] || [string match "*passed to ld*" $exec_output] } { - if [istarget *-*-sunos4*] { - set picflag "-pic" - } else { - set picflag "-KPIC" - } + set picflag "-KPIC" } } verbose "Using $picflag to compile PIC code" |