aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
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"