r279731 - in /trunk/libstdc++-v3: ChangeLog con...
aoliva@gcc.gnu.org
aoliva@gcc.gnu.org
Wed Dec 25 06:43:00 GMT 2019
Author: aoliva
Date: Wed Dec 25 06:43:22 2019
New Revision: 279731
URL: https://gcc.gnu.org/viewcvs?rev=279731&root=gcc&view=rev
Log:
Define HAVE_ for math long double functions declared in vxworks headers
When cross-building for vxworks, test for declarations of long double
functions in math.h. We don't normally test for these functions when
cross compiling, because link tests don't work, or ever really, but
not defining them as available causes replacements to be defined in
ways that may cause duplicate definition linker errors if the units
defining both the replacement and the actual implementation are
brought in because of other symbols.
for libstdc++-v3/ChangeLog
* crossconfig.m4 (GLIBCXX_CROSSCONFIG) [*-vxworks*]: Define
long double functions as available if declared by math.h.
(GLIBCXX_CHECK_MATH_DECL, GLIBCXX_CHECK_MATH_DECLS): New.
* configure: Rebuild.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/crossconfig.m4
More information about the Gcc-cvs
mailing list