summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/cp/g++.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc/cp/g++.c')
-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)