(lang_specific_driver): Use LIBSTDCXX instead of "-lstdc++".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24509
138bc75d-0d04-0410-961f-
82ee72b054a4
+Wed Jan 6 03:18:53 1999 Mark Elbrecht <snowball3@usa.net.
+
+ * g++spec.c (LIBSTDCXX): Provide default definition.
+ (lang_specific_driver): Use LIBSTDCXX instead of "-lstdc++".
+
Tue Jan 5 22:11:25 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Make-lang.in (g++.o): Depend on prefix.h.
#define MATH_LIBRARY "-lm"
#endif
+#ifndef LIBSTDCXX
+#define LIBSTDCXX "-lstdc++"
+#endif
+
void
lang_specific_driver (fn, in_argc, in_argv, in_added_libraries)
void (*fn)();
/* Add `-lstdc++' if we haven't already done so. */
if (library)
{
- arglist[j++] = "-lstdc++";
+ arglist[j++] = LIBSTDCXX;
added_libraries++;
}
if (saw_math)