This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

PATCH COMMITTED: Remove MAYBE_USE_COLLECT2 from mklibgcc.in


Richard removed MAYBE_USE_COLLECT2 from gcc back in 2001:

2001-08-09  Richard Henderson  <rth@redhat.com>

	* Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.

However, he evidently missed the uses in mklibgcc.in.  Those uses are
now pointless, as the variable will never be set.

This patch removes them.  Committed as obvious.

Ian


2004-03-18  Ian Lance Taylor  <ian@wasabisystems.com>

	* mklibgcc.in: Remove obsolete MAYBE_USE_COLLECT2.


Index: mklibgcc.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/mklibgcc.in,v
retrieving revision 1.67
diff -u -r1.67 mklibgcc.in
--- mklibgcc.in	21 Nov 2003 04:53:09 -0000	1.67
+++ mklibgcc.in	19 Mar 2004 03:28:35 -0000
@@ -123,7 +123,7 @@
     out="libgcc/${dir}/${name}${objext}"
 
     echo $out: $libgcc2_c_dep
-    echo "	$gcc_compile" '$(MAYBE_USE_COLLECT2)' $flags -DL$name \
+    echo "	$gcc_compile" $flags -DL$name \
       -c '$(srcdir)/libgcc2.c' -o $out
   done
   libgcc2_objs="$libgcc2_objs ${name}${objext}"
@@ -136,7 +136,7 @@
     out="libgcc/${dir}/${name}${objext}"
 
     echo $out: $libgcc2_c_dep
-    echo "	$gcc_compile" '$(MAYBE_USE_COLLECT2)' $flags -DL$name \
+    echo "	$gcc_compile" $flags -DL$name \
       -c '$(srcdir)/libgcc2.c' -o $out
   done
   libgcc2_st_objs="$libgcc2_st_objs ${name}${objext}"
@@ -149,7 +149,7 @@
     out="libgcc/${dir}/${name}${objext}"
 
     echo $out: $libgcc2_c_dep
-    echo "	$gcc_compile" '$(MAYBE_USE_COLLECT2)' $flags -DL$name \
+    echo "	$gcc_compile" $flags -DL$name \
       -c '$(srcdir)/libgcc2.c' -fexceptions -fnon-call-exceptions -o $out
   done
   libgcc2_objs="$libgcc2_objs ${name}${objext}"
@@ -271,7 +271,7 @@
     out="libgcc/${dir}/${name}${objext}"
 
     echo $out: $libgcov_c_dep
-    echo "	$gcc_compile" '$(MAYBE_USE_COLLECT2)' $flags -DL$name \
+    echo "	$gcc_compile" $flags -DL$name \
       -c '$(srcdir)/libgcov.c' -o $out
   done
   libgcov_objs="$libgcov_objs ${name}${objext}"


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