summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-02-18 00:45:36 +0000
committerniklas <niklas@openbsd.org>1996-02-18 00:45:36 +0000
commitf5127f44bc9e2b8f5b549648eba72f8e047f5704 (patch)
tree69892d4f1bb3b6ea74fc2950a4bd96471f32dd5d
parentCheck the for GCC >= 3.X (no it's not even started on yet :-) ) in the (diff)
downloadwireguard-openbsd-f5127f44bc9e2b8f5b549648eba72f8e047f5704.tar.xz
wireguard-openbsd-f5127f44bc9e2b8f5b549648eba72f8e047f5704.zip
From netbsd:
Remove -lstdc++ until it exists. Don't forget to revert this back when the new libg++ gets imported.
-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)