forked from Imagelibrary/binutils-gdb
* configure.ac: Rewrite targetobjs duplicate removal code to use
only shell constructs. * configure: Rebuild.
This commit is contained in:
9
gold/configure
vendored
9
gold/configure
vendored
@@ -3411,7 +3411,14 @@ fi
|
||||
done
|
||||
|
||||
# Remove any duplicates.
|
||||
targetobjs=`echo $targetobjs | tr ' ' '\n' | sort | uniq | tr '\n' ' '`
|
||||
to=""
|
||||
for t in $targetobjs; do
|
||||
case " $to " in
|
||||
*" $t "*) ;;
|
||||
*) to="$to $t" ;;
|
||||
esac
|
||||
done
|
||||
targetobjs=$to
|
||||
|
||||
if test -n "$targ_32_little"; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user