summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-05-26 15:37:04 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-05-26 15:37:04 +0000
commitbeb5e9783915dcdd44f1b132ca6fc737c8cf6a87 (patch)
tree543e34c31cca2f65eee850542b3cef7e3945d7e7
parent1a797ac839738ab773f8b74f9a7a6e332a5e5ba1 (diff)
Make overriding libiberty's location possible.
-rw-r--r--gnu/egcs/gcc/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/Makefile.in b/gnu/egcs/gcc/Makefile.in
index 07cbc29c820..3f597c66196 100644
--- a/gnu/egcs/gcc/Makefile.in
+++ b/gnu/egcs/gcc/Makefile.in
@@ -511,6 +511,8 @@ CRT0STUFF_T_CFLAGS =
# "t" or nothing, for building multilibbed versions of, say, crtbegin.o.
T =
+# the normal name of libiberty
+LIBIBERTY=../libiberty/libiberty.a
# End of variables for you to override.
# Definition of `all' is here so that new rules inserted by sed
@@ -572,7 +574,7 @@ HOST_LIBDEPS= $(HOST_PREFIX)$(HOST_INTLLIBS) $(HOST_PREFIX)$(HOST_OBSTACK) $(HOS
# How to link with both our special library facilities
# and the system's installed libraries.
-LIBS = $(OBSTACK) $(USE_ALLOCA) $(MALLOC) $(INTLLIBS) @LIBS@ $(VFPRINTF) $(DOPRINT) $(CLIB) ../libiberty/libiberty.a
+LIBS = $(OBSTACK) $(USE_ALLOCA) $(MALLOC) $(INTLLIBS) @LIBS@ $(VFPRINTF) $(DOPRINT) $(CLIB) $(LIBIBERTY)
# Likewise, for use in the tools that must run on this machine
# even if we are cross-building GCC.