Do not link in -lg++ by default, ever. It is not a supported library any

longer.
This commit is contained in:
tv 1998-10-14 15:01:09 +00:00
parent 451f0e3c25
commit 334db9e84c

View File

@ -405,13 +405,6 @@ main (argc, argv)
p = argv[0] + strlen (argv[0]);
/* If we're called as g++ (or i386-aout-g++), link in libg++ as well. */
if (strcmp (p - 3, "g++") == 0)
{
library = 2;
}
while (p != argv[0] && p[-1] != '/')
--p;
programname = p;
@ -541,9 +534,6 @@ main (argc, argv)
}
}
/* Add `-lg++' if we haven't already done so. */
if (library == 2)
arglist[j++] = "-lg++";
if (library)
arglist[j++] = "-lstdc++";
if (saw_math)