diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-09-09 18:18:07 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-09-09 18:18:07 +0000 |
commit | b0d230b781e8b4df4aa12daa88ffb9f45f45b8f8 (patch) | |
tree | ccd73e3e61cfb4880fdabcbccf26359ce6ffad69 | |
parent | 4eea905e76823d68251504ae6c781014d8f1f195 (diff) | |
download | gcc-b0d230b781e8b4df4aa12daa88ffb9f45f45b8f8.tar.gz |
Use CROSS_LIBGCC1 for a cross-compiler
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5294 138bc75d-0d04-0410-961f-82ee72b054a4
-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 bf200bfba44..46d777b3a1a 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 63d9d7f0f3c..33bf93088df 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) |