From f4874d661bb70a06dea6fd1f1287efec0a96d9fa Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 13 Jan 2004 23:31:59 +0000 Subject: stupid, stupid. who reads my code ? bug found by naddy@ --- gnu/usr.bin/gcc/gcc/cp/g++spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/usr.bin/gcc') 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++; -- cgit v1.2.3