mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-02 16:23:56 +08:00
acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so that all the freaky stuff like sincos will be around...
2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com> Ulrich Drepper <drepper@cygnus.com> * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so that all the freaky stuff like sincos will be around... Co-Authored-By: Ulrich Drepper <drepper@cygnus.com> From-SVN: r34666
This commit is contained in:
parent
782c59d653
commit
4f76382d2f
@ -1,3 +1,9 @@
|
||||
2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
|
||||
Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
|
||||
that all the freaky stuff like sincos will be around...
|
||||
|
||||
2000-06-22 Branko Cibej <branko.cibej@hermes.si>
|
||||
|
||||
* Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
|
||||
|
@ -482,7 +482,7 @@ dnl GLIBCPP_CHECK_MATH_SUPPORT
|
||||
AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [
|
||||
ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS='-fno-builtins'
|
||||
CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
|
||||
|
||||
dnl Check libm
|
||||
AC_CHECK_LIB(m, sin, libm="-lm")
|
||||
|
2
libstdc++-v3/aclocal.m4
vendored
2
libstdc++-v3/aclocal.m4
vendored
@ -494,7 +494,7 @@ dnl GLIBCPP_CHECK_MATH_SUPPORT
|
||||
AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [
|
||||
ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS='-fno-builtins'
|
||||
CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
|
||||
|
||||
dnl Check libm
|
||||
AC_CHECK_LIB(m, sin, libm="-lm")
|
||||
|
2
libstdc++-v3/configure
vendored
2
libstdc++-v3/configure
vendored
@ -3970,7 +3970,7 @@ EOF
|
||||
|
||||
ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS='-fno-builtins'
|
||||
CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
|
||||
|
||||
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
|
||||
echo "configure:3977: checking for sin in -lm" >&5
|
||||
|
Loading…
Reference in New Issue
Block a user