[Bug libstdc++/60789] [4.9 Regression] Missing -lm while checking for math functions (e.g., atan2f)

david.abdurachmanov at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 9 19:17:00 GMT 2014


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.



More information about the Gcc-bugs mailing list