g++spec.c (lang_specific_driver): Remove check for -lm and -lmath when check it see if it was the math library.
2004-06-09 Andrew Pinski <pinskia@physics.uc.edu> * g++spec.c (lang_specific_driver): Remove check for -lm and -lmath when check it see if it was the math library. From-SVN: r82843
This commit is contained in:
parent
62b857eabf
commit
b7115e7ff5
2 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-06-09 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* g++spec.c (lang_specific_driver): Remove check for -lm
|
||||
and -lmath when check it see if it was the math library.
|
||||
|
||||
2004-06-08 Giovanni Bajo <giovannibajo@gcc.gnu.org>
|
||||
|
||||
PR c++/7841
|
||||
|
|
|
@ -136,10 +136,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
|
|||
{
|
||||
library = -1;
|
||||
}
|
||||
else if (strcmp (argv[i], "-lm") == 0
|
||||
|| strcmp (argv[i], "-lmath") == 0
|
||||
|| strcmp (argv[i], MATH_LIBRARY) == 0
|
||||
)
|
||||
else if (strcmp (argv[i], MATH_LIBRARY) == 0)
|
||||
{
|
||||
args[i] |= MATHLIB;
|
||||
need_math = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue