From 252bb01fbc433f68016d418aa33ad77a7e9c241c Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 27 Sep 1996 05:13:40 +0000 Subject: [PATCH] Temporarily disable the code that wants to add -lstdc++ in tge g++ driver since we don't have it yet and I've taken too long on the libg++-2.7.2 stuff (it causes problems due to to the lack of .weak support which I've nearly finished) Submitted by: "Ph. Charnier" --- contrib/gcc/cp/g++.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/gcc/cp/g++.c b/contrib/gcc/cp/g++.c index efb6231a20d..96ce010e965 100644 --- a/contrib/gcc/cp/g++.c +++ b/contrib/gcc/cp/g++.c @@ -542,8 +542,11 @@ main (argc, argv) /* Add `-lg++' if we haven't already done so. */ if (library == 2) arglist[j++] = "-lg++"; +#ifndef __FreeBSD__ + /* Temporary only */ if (library) arglist[j++] = "-lstdc++"; +#endif if (saw_math) arglist[j++] = saw_math; else if (library)