g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.

* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.

	* g++spec.c (lang_specific_driver): Remove ALT_LIBM usage.

From-SVN: r67419
This commit is contained in:
Andreas Jaeger 2003-06-04 06:48:16 +02:00 committed by Andreas Jaeger
parent df8ca70ebb
commit 81c0e50a30
4 changed files with 9 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2003-06-04 Andreas Jaeger <aj@suse.de>
* g++spec.c (lang_specific_driver): Remove ALT_LIBM usage.
2003-06-03 Jason Merrill <jason@redhat.com>
* cp/cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.

View File

@ -141,9 +141,6 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
else if (strcmp (argv[i], "-lm") == 0
|| strcmp (argv[i], "-lmath") == 0
|| strcmp (argv[i], MATH_LIBRARY) == 0
#ifdef ALT_LIBM
|| strcmp (argv[i], ALT_LIBM) == 0
#endif
)
{
args[i] |= MATHLIB;

View File

@ -1,3 +1,7 @@
2003-06-04 Andreas Jaeger <aj@suse.de>
* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
2003-06-01 Bud Davis <bdavis9659@comcast.net>
* ste.c (ffeste_R838): Handle ERROR_MARK.

View File

@ -451,11 +451,7 @@ or type the command `info -f g77 Copying'.\n\
saw_library = 0; /* -xfoo currently active. */
else
{ /* -lfoo or filename. */
if (strcmp (argv[i], MATH_LIBRARY) == 0
#ifdef ALT_LIBM
|| strcmp (argv[i], ALT_LIBM) == 0
#endif
)
if (strcmp (argv[i], MATH_LIBRARY) == 0)
{
if (saw_library == 1)
saw_library = 2; /* -l<library> -lm. */