aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-07-13 06:12:51 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-07-13 06:12:51 +0000
commit1617e5eedcc094ee8eb18dc3d3b0df3f2cbd546b (patch)
tree5725393fda59464c6afb4405cdb5de32243d799e /gcc/config.gcc
parent192c543cd420fb63220f72759ce76c0477cee984 (diff)
downloadgcc-1617e5eedcc094ee8eb18dc3d3b0df3f2cbd546b.zip
gcc-1617e5eedcc094ee8eb18dc3d3b0df3f2cbd546b.tar.gz
gcc-1617e5eedcc094ee8eb18dc3d3b0df3f2cbd546b.tar.bz2
Index: gcc/ChangeLog
2007-07-12 Geoffrey Keating <geoffk@apple.com> * ginclude/tgmath.h: New. * config.gcc: Use GCC's tgmath.h on non-glibc systems. * doc/sourcebuild.texi (Headers): Document use_gcc_tgmath. * configure.ac (STMP_FIXPROTO): Honor use_gcc_tgmath. * configure: Regenerate. Index: gcc/testsuite/ChangeLog 2007-07-11 Geoffrey Keating <geoffk@apple.com> * gcc.dg/c99-tgmath-1.c: New. * gcc.dg/c99-tgmath-2.c: New. * gcc.dg/c99-tgmath-3.c: New. * gcc.dg/c99-tgmath-4.c: New. From-SVN: r126613
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 38ba1df..085222e 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -98,6 +98,9 @@
# extra_headers List of used header files from the directory
# config/${cpu_type}.
#
+# use_gcc_tgmath If set, add tgmath.h to the list of used header
+# files.
+#
# extra_passes List of extra executables compiled for this target
# machine, used for compiling from source to object.
#
@@ -156,6 +159,7 @@
out_file=
tmake_file=
extra_headers=
+use_gcc_tgmath=yes
extra_passes=
extra_parts=
extra_programs=
@@ -493,6 +497,7 @@ case ${target} in
esac
# Assume that glibc or uClibc are being used and so __cxa_atexit is provided.
default_use_cxa_atexit=yes
+ use_gcc_tgmath=no
;;
*-*-gnu*)
# On the Hurd, the setup is just about the same on
@@ -516,6 +521,7 @@ case ${target} in
esac
# Assume that glibc is being used and so __cxa_atexit is provided.
default_use_cxa_atexit=yes
+ use_gcc_tgmath=no
;;
*-*-netbsd*)
tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd t-libgcc-pic"