diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-06-08 03:21:07 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2001-06-08 03:21:07 +0000 |
commit | e9a8af10673c70eb43135b6d0366909f147744b1 (patch) | |
tree | abc446b411b3dfdf0dbbd2304fcae839a5a220c0 /Makefile.in | |
parent | b9e18cb67300dd4079d560a69c5c9c7f004fa709 (diff) | |
download | gcc-e9a8af10673c70eb43135b6d0366909f147744b1.tar.gz |
Makefile.in (AS_FOR_TARGET, [...]): If gcc/xgcc is built, use -print-prog-name to find out the program name to use.
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
gcc/xgcc is built, use -print-prog-name to find out the program
name to use.
From-SVN: r42996
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 2032fae7d63..5e3559f8daf 100644 --- a/Makefile.in +++ b/Makefile.in @@ -230,6 +230,8 @@ GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET) AS_FOR_TARGET = ` \ if [ -f $$r/gas/as-new ] ; then \ echo $$r/gas/as-new ; \ + elif [ -f $$r/gcc/xgcc ]; then \ + $(CC_FOR_TARGET) -print-prog-name=as ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(AS); \ @@ -241,6 +243,8 @@ AS_FOR_TARGET = ` \ LD_FOR_TARGET = ` \ if [ -f $$r/ld/ld-new ] ; then \ echo $$r/ld/ld-new ; \ + elif [ -f $$r/gcc/xgcc ]; then \ + $(CC_FOR_TARGET) -print-prog-name=ld ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(LD); \ @@ -300,6 +304,8 @@ RANLIB_FOR_TARGET = ` \ NM_FOR_TARGET = ` \ if [ -f $$r/binutils/nm-new ] ; then \ echo $$r/binutils/nm-new ; \ + elif [ -f $$r/gcc/xgcc ]; then \ + $(CC_FOR_TARGET) -print-prog-name=nm ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(NM); \ |