This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[3.0] Fix NM_FOR_TARGET
- To: gcc-patches at gcc dot gnu dot org
- Subject: [3.0] Fix NM_FOR_TARGET
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 8 Nov 2001 10:51:55 -0800
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; \