diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 1993-09-09 18:18:07 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 1993-09-09 18:18:07 +0000 |
commit | b0bfa186290fe040e5451e4de867c7ec87d626cb (patch) | |
tree | ccd73e3e61cfb4880fdabcbccf26359ce6ffad69 /gcc | |
parent | 4d87de75c589bf48a24164e9ee7f908ce5cdf268 (diff) | |
download | gcc-b0bfa186290fe040e5451e4de867c7ec87d626cb.zip gcc-b0bfa186290fe040e5451e4de867c7ec87d626cb.tar.gz gcc-b0bfa186290fe040e5451e4de867c7ec87d626cb.tar.bz2 |
Use CROSS_LIBGCC1 for a cross-compiler
From-SVN: r5294
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/Makefile.in | 4 | ||||
-rw-r--r-- | gcc/cross-make | 7 |
2 files changed, 8 insertions, 3 deletions
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) |