work around linker problems on the mips (explicitely link with
authorgraichen <graichen@openbsd.org>
Sun, 19 Jan 1997 22:46:48 +0000 (22:46 +0000)
committergraichen <graichen@openbsd.org>
Sun, 19 Jan 1997 22:46:48 +0000 (22:46 +0000)
-ltermlib)

gnu/lib/libg++/libg++/gperf/Makefile.bsd-wrapper

index 6306f6d..c73be47 100644 (file)
@@ -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: