This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/60789] [4.9 Regression] Missing -lm while checking for math functions (e.g., atan2f)
- From: "david.abdurachmanov at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Apr 2014 19:17:44 +0000
- Subject: [Bug libstdc++/60789] [4.9 Regression] Missing -lm while checking for math functions (e.g., atan2f)
- Auto-submitted: auto-generated
- References: <bug-60789-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60789
--- Comment #1 from David Abdurachmanov <david.abdurachmanov at gmail dot com> ---
Found the culprit. I had CFLAGS/CXXFLAGS/LDFLAGS for gcc ./configure. Thus
probably setting CFLAGS causes `-lm` to vanish in libstdc++v3 math conftests.