summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-18 00:45:37 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-18 00:45:37 +0000
commitd91162398a08fcc7f02ff28d81b9267d88167da1 (patch)
tree562281d5255ebd61aa48b046ce072de7f940f991 /gnu/usr.bin
parente486342a20c92b88cdfbfe56d1fe9b2d22890345 (diff)
From netbsd:
Remove -lstdc++ until it exists. Don't forget to revert this back when the new libg++ gets imported.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gcc/cp/g++.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/cp/g++.c b/gnu/usr.bin/gcc/cp/g++.c
index f694898fa96..7d4897dadcc 100644
--- a/gnu/usr.bin/gcc/cp/g++.c
+++ b/gnu/usr.bin/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++";
+#if 0
+ /* XXX OpenBSD: this is a temporary #if 0, until we get a new libg++ */
if (library)
arglist[j++] = "-lstdc++";
+#endif
if (saw_math)
arglist[j++] = saw_math;
else if (library)