mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
* configure.ac: Rewrite targetobjs duplicate removal code to use
only shell constructs. * configure: Rebuild.
This commit is contained in:
parent
cf846138ae
commit
9109c078e3
@ -1,3 +1,9 @@
|
||||
2010-02-06 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* configure.ac: Rewrite targetobjs duplicate removal code to use
|
||||
only shell constructs.
|
||||
* configure: Rebuild.
|
||||
|
||||
2010-02-05 Doug Kwan <dougkwan@google.com>
|
||||
|
||||
PR 11247
|
||||
|
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
|
||||
|
||||
|
@ -163,7 +163,14 @@ for targ in $target $canon_targets; do
|
||||
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
|
||||
AC_DEFINE(HAVE_TARGET_32_LITTLE, 1,
|
||||
|
Loading…
Reference in New Issue
Block a user