diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-06-09 17:54:17 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@physics.uc.edu> | 2004-06-09 17:54:17 +0000 |
commit | 2655ed4f4b11f53be9b751bcca82d59b74c43491 (patch) | |
tree | 4640fc33b8ce30140bbcc14f647a0b2d75aaf40e /gcc/cp/g++spec.c | |
parent | 947e7fd9e1879f597b8cf820606dddce7551eb77 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@82843 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/g++spec.c')
-rw-r--r-- | gcc/cp/g++spec.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cp/g++spec.c b/gcc/cp/g++spec.c index e6c9ee6892a..69cf1864cf8 100644 --- a/gcc/cp/g++spec.c +++ b/gcc/cp/g++spec.c @@ -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; |