projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* configure.ac: Rewrite targetobjs duplicate removal code to use
[deliverable/binutils-gdb.git]
/
gold
/
configure.ac
diff --git
a/gold/configure.ac
b/gold/configure.ac
index 4bf223cb514ed8a8d579a446d668c4a8f06d50de..f184d4b29def3f4eca93a61c324c27f367f3e782 100644
(file)
--- a/
gold/configure.ac
+++ b/
gold/configure.ac
@@
-163,7
+163,14
@@
for targ in $target $canon_targets; do
done
# Remove any duplicates.
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,
if test -n "$targ_32_little"; then
AC_DEFINE(HAVE_TARGET_32_LITTLE, 1,
This page took
0.024127 seconds
and
4
git commands to generate.