summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-01-13 23:31:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-01-13 23:31:59 +0000
commitf4874d661bb70a06dea6fd1f1287efec0a96d9fa (patch)
tree9cd498857ec3f0425b2d1eac57b943a1f0ef090f /gnu
parentb7ae01a9113c642633a08534660694f58f6b6276 (diff)
stupid, stupid.
who reads my code ? bug found by naddy@
Diffstat (limited to 'gnu')
-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++;