aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2020-10-20 10:32:27 +0000
committerOlivier Hainque <hainque@adacore.com>2020-10-22 16:40:57 +0000
commitd667beea36ba90bd47f1dd5f4a92a8d43a8ff207 (patch)
tree04cd969837af3d4901b71e5dcc0a36cf426eb3cf
parent0e590b68fa3743656f40aee8374b788b108350c7 (diff)
downloadgcc-d667beea36ba90bd47f1dd5f4a92a8d43a8ff207.zip
gcc-d667beea36ba90bd47f1dd5f4a92a8d43a8ff207.tar.gz
gcc-d667beea36ba90bd47f1dd5f4a92a8d43a8ff207.tar.bz2
Scope libstdc++ configuration for vxworks to all versions
When libstdc++ is enabled, the current high level configuration bits should apply the same to all versions of VxWorks. Adjust the config triplets matching rules accordingly. 2010-10-21 Olivier Hainque <hainque@adacore.com> libstdc++-v3/ * crossconfig.m4: Turn vxworks matcher into vxworks*. * configure.host: Likewise. * configure: Regenerate.
-rwxr-xr-xlibstdc++-v3/configure2
-rw-r--r--libstdc++-v3/configure.host2
-rw-r--r--libstdc++-v3/crossconfig.m42
3 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 7abf1b1..0213c3c 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -73039,7 +73039,7 @@ done
CXXFLAGS="$ac_save_CXXFLAGS"
;;
- *-vxworks)
+ *-vxworks*)
$as_echo "#define HAVE_ACOSF 1" >>confdefs.h
$as_echo "#define HAVE_ASINF 1" >>confdefs.h
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index 8d1b608..ec32980 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -303,7 +303,7 @@ case "${host_os}" in
tpf)
os_include_dir="os/tpf"
;;
- vxworks)
+ vxworks*)
os_include_dir="os/vxworks"
;;
*)
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4
index 9f2589b..ff44d5a 100644
--- a/libstdc++-v3/crossconfig.m4
+++ b/libstdc++-v3/crossconfig.m4
@@ -276,7 +276,7 @@ case "${host}" in
GLIBCXX_CHECK_MATH_SUPPORT
GLIBCXX_CHECK_STDLIB_SUPPORT
;;
- *-vxworks)
+ *-vxworks*)
AC_DEFINE(HAVE_ACOSF)
AC_DEFINE(HAVE_ASINF)
AC_DEFINE(HAVE_ATAN2F)