From b0bfa186290fe040e5451e4de867c7ec87d626cb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 9 Sep 1993 18:18:07 +0000 Subject: Use CROSS_LIBGCC1 for a cross-compiler From-SVN: r5294 --- gcc/Makefile.in | 4 ++++ gcc/cross-make | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/Makefile.in b/gcc/Makefile.in index bf200bf..46d777b 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -188,6 +188,10 @@ INSTALL_LIBGCC = install-libgcc # with or for libgcc1.a. LIBGCC1 = libgcc1.a +# Specify the rule for making libgcc1.a for a cross-compiler. +# The default rule assumes that libgcc1.a is supplied by the user. +CROSS_LIBGCC1 = libgcc1.cross + # Specify the rule for actually making libgcc2.a. LIBGCC2 = libgcc2.a diff --git a/gcc/cross-make b/gcc/cross-make index 63d9d7f..33bf930 100644 --- a/gcc/cross-make +++ b/gcc/cross-make @@ -1,6 +1,7 @@ -# Expect user to provide libgcc1.a, -# and give up immediately if the user has not done so. -LIBGCC1 = libgcc1.cross +# Build libgcc1.a for a cross-compiler. +# By default this expects the user to provide libgcc1.a, +# and gives up immediately if the user has not done so. +LIBGCC1 = $(CROSS_LIBGCC1) # Specify tools and options for manipulating libraries for the target machine. AR = $(AR_FOR_TARGET) -- cgit v1.1