Check for __cxa_thread_atexit for freebsd crosses
PR libstdc++/78968 * crossconfig.m4: Check for __cxa_thread_atexit on *-*-freebsd*. * configure: Regenerate. From-SVN: r244169
This commit is contained in:
parent
834a27157d
commit
ea4ad78e2c
3 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2017-01-06 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/78968
|
||||
* crossconfig.m4: Check for __cxa_thread_atexit on *-*-freebsd*.
|
||||
* configure: Regenerate.
|
||||
|
||||
2017-01-06 Barrett Adair <barrettellisadair@gmail.com>
|
||||
Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
|
|
11
libstdc++-v3/configure
vendored
11
libstdc++-v3/configure
vendored
|
@ -53265,6 +53265,17 @@ $as_echo "$ac_ld_relro" >&6; }
|
|||
$as_echo "#define HAVE_ISNANL 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
for ac_func in __cxa_thread_atexit
|
||||
do :
|
||||
ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
|
||||
if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE___CXA_THREAD_ATEXIT 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
;;
|
||||
*-hpux*)
|
||||
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
||||
|
|
|
@ -132,6 +132,7 @@ case "${host}" in
|
|||
AC_DEFINE(HAVE_ISINFL)
|
||||
AC_DEFINE(HAVE_ISNANL)
|
||||
fi
|
||||
AC_CHECK_FUNCS(__cxa_thread_atexit)
|
||||
;;
|
||||
*-hpux*)
|
||||
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
||||
|
|
Loading…
Add table
Reference in a new issue