aboutsummaryrefslogtreecommitdiff
path: root/gold/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gold/configure')
-rwxr-xr-xgold/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/configure b/gold/configure
index 4817e44..dbc6319 100755
--- a/gold/configure
+++ b/gold/configure
@@ -3410,6 +3410,9 @@ fi
fi
done
+# Remove any duplicates.
+targetobjs=`echo $targetobjs | tr ' ' '\n' | sort | uniq | tr '\n' ' '`
+
if test -n "$targ_32_little"; then
$as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h