diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-01-19 22:46:49 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-01-19 22:46:49 +0000 |
commit | 11080e4f133ba82f83903e2230bf34dc9e65868c (patch) | |
tree | 0a5f46e76b95d09d5f3fdc25ff158b89a7b140f9 /gnu/lib | |
parent | 9200e167fbf3acb37c07844dd2436385ebed5038 (diff) |
work around linker problems on the mips (explicitely link with
-ltermlib)
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libg++/libg++/gperf/Makefile.bsd-wrapper | 6 |
1 files changed, 5 insertions, 1 deletions
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: |