diff options
author | peter <peter@FreeBSD.org> | 1996-09-27 05:13:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-09-27 05:13:40 +0000 |
commit | ff1dd074e9925955bae5d9466eb2d8914760e018 (patch) | |
tree | 1e777b1f92a25962523e79bca1c65f657c1d37f0 /contrib/gcc | |
parent | 34bee7304386ede852796728b65f3a5537a2f5b5 (diff) | |
download | FreeBSD-src-ff1dd074e9925955bae5d9466eb2d8914760e018.zip FreeBSD-src-ff1dd074e9925955bae5d9466eb2d8914760e018.tar.gz |
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" <charnier@xp11.frmug.org>
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/cp/g++.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gcc/cp/g++.c b/contrib/gcc/cp/g++.c index efb6231..96ce010 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) |