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]

[3.0] Fix NM_FOR_TARGET


This was fixed on mainline back in May; this is a simpler
version of Alex's patch.


r~


        * Makefile.in (NM_FOR_TARGET): Single build tree uses nm-new.

diff -ruNp gcc-3.0.2-dist/gcc/Makefile.in gcc-3.0.2/gcc/Makefile.in
--- gcc-3.0.2-dist/gcc/Makefile.in	Thu Oct  4 15:59:02 2001
+++ gcc-3.0.2/gcc/Makefile.in	Tue Oct 30 00:05:40 2001
@@ -241,8 +241,8 @@ RANLIB_TEST_FOR_TARGET = \
   || ( [ "$(host_canonical)" = "$(target)" ] \
        && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )
 NM_FOR_TARGET = ` \
-  if [ -f $(objdir)/../binutils/nm ] ; then \
-    echo $(objdir)/../binutils/nm ; \
+  if [ -f $(objdir)/../binutils/nm-new ] ; then \
+    echo $(objdir)/../binutils/nm-new ; \
   else \
     if [ "$(host_canonical)" = "$(target)" ] ; then \
       echo nm; \


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