public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-4268] Scope libstdc++ configuration for vxworks to all versions
@ 2020-10-22 16:41 Olivier Hainque
  0 siblings, 0 replies; only message in thread
From: Olivier Hainque @ 2020-10-22 16:41 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:d667beea36ba90bd47f1dd5f4a92a8d43a8ff207

commit r11-4268-gd667beea36ba90bd47f1dd5f4a92a8d43a8ff207
Author: Olivier Hainque <hainque@adacore.com>
Date:   Tue Oct 20 10:32:27 2020 +0000

    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.

Diff:
---
 libstdc++-v3/configure      | 2 +-
 libstdc++-v3/configure.host | 2 +-
 libstdc++-v3/crossconfig.m4 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 7abf1b1ccc1..0213c3c6bc4 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 8d1b60804f3..ec32980aa0d 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 9f2589b739e..ff44d5ae019 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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-22 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-22 16:41 [gcc r11-4268] Scope libstdc++ configuration for vxworks to all versions Olivier Hainque

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).