summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2004-01-13 23:31:58 +0000
committerespie <espie@openbsd.org>2004-01-13 23:31:58 +0000
commit1cb3ce827211c14df539288a440a282c45a5e538 (patch)
tree57c392666e47d35a781d9f2ba6eac8c0f190a265
parentGet rid of more unused useless broken invalid constant laughable values. (diff)
downloadwireguard-openbsd-1cb3ce827211c14df539288a440a282c45a5e538.tar.xz
wireguard-openbsd-1cb3ce827211c14df539288a440a282c45a5e538.zip
stupid, stupid.
who reads my code ? bug found by naddy@
-rw-r--r--gnu/usr.bin/gcc/gcc/cp/g++spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/cp/g++spec.c b/gnu/usr.bin/gcc/gcc/cp/g++spec.c
index 03c775f6915..ce4c68dc092 100644
--- a/gnu/usr.bin/gcc/gcc/cp/g++spec.c
+++ b/gnu/usr.bin/gcc/gcc/cp/g++spec.c
@@ -289,7 +289,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
}
/* Add -lsupc++ for shared. */
- if (libsupcxx)
+ if (libsupcxx == 1)
{
arglist[j++] = saw_profile_flag ? LIBSUPCXX_PROFILE : LIBSUPCXX;
added_libraries++;