This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] to ld


"H.J. Lu" <hjl.tools@gmail.com> writes:

> It won't build for me:
>
> configure: error: "unsupported target alpha-suse-linux-gnu"
> make[3]: *** [configure-gold] Error 1

diff --git a/gold/configure.ac b/gold/configure.ac
index 94cae31..6d14e2a 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -166,7 +166,11 @@ for targ in $target $canon_targets; do
     . ${srcdir}/configure.tgt
 
     if test "$targ_obj" = "UNKNOWN"; then
-      AC_MSG_ERROR("unsupported target $targ")
+      if test "$targ" = "$target"; then
+        AC_MSG_ERROR("unsupported target $targ")
+      else
+        AC_MSG_WARN("unsupported target $targ")
+      fi
     else
       targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
       if test "$targ_extra_obj" != ""; then

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]