From 60a7cd6b93e7d2fe829720376ea4620c9d5a5d3a Mon Sep 17 00:00:00 2001 From: graichen Date: Sun, 19 Jan 1997 22:46:48 +0000 Subject: [PATCH] work around linker problems on the mips (explicitely link with -ltermlib) --- gnu/lib/libg++/libg++/gperf/Makefile.bsd-wrapper | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/lib/libg++/libg++/gperf/Makefile.bsd-wrapper b/gnu/lib/libg++/libg++/gperf/Makefile.bsd-wrapper index 6306f6de992..c73be4754f3 100644 --- a/gnu/lib/libg++/libg++/gperf/Makefile.bsd-wrapper +++ b/gnu/lib/libg++/libg++/gperf/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.7 1996/10/27 01:24:08 deraadt Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.8 1997/01/19 22:46:48 graichen Exp $ .if defined(OBJMACHINE) OBJDIR= obj.${MACHINE} @@ -47,6 +47,10 @@ LDFLAGS+= -L$(STD_OBJDIR) -L$(GXX_OBJDIR) # -lg++ to be automatically included. So add it here, no matter what. LDADD+= -lg++ -lstdc++ -lcurses +.if (${MACHINE_ARCH} == "mips") +LDADD+= -ltermlib +.endif + all: $(STD_OBJDIR)/libstdc++.a $(GXX_OBJDIR)/libg++.a $(STD_OBJDIR)/libstdc++.a: -- 2.20.1