* configure.ac: If targ_extra_obj is set, link it in.
[deliverable/binutils-gdb.git] / gold / configure.ac
index 1dcd3ae6202642c7bf1b9c39c4457e0ab3414fda..96733e43158dc66b7b3973a7429b752f25c44a11 100644 (file)
@@ -107,6 +107,9 @@ for targ in $target $canon_targets; do
       AC_MSG_ERROR("unsupported target $targ")
     else
       targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
+      if test "$targ_extra_obj" != ""; then
+        targetobjs="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
+      fi
       if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
          if test "$targ_big_endian" = "true" \
              -o "$targ_extra_big_endian" = "true"; then
This page took 0.02378 seconds and 4 git commands to generate.