public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/c++-modules] Fix noncanonical_target
@ 2020-12-03 14:55 Nathan Sidwell
0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-12-03 14:55 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d76a624571fde71bbde156248f0c3e407559fb76
commit d76a624571fde71bbde156248f0c3e407559fb76
Author: Nathan Sidwell <nathan@acm.org>
Date: Thu Dec 3 06:51:46 2020 -0800
Fix noncanonical_target
c++tools/
* configure.ac: Need ACX_NONCANONICAL_TARGET
* configure: Rebuilt.
Diff:
---
ChangeLog.modules | 4 ++++
c++tools/configure | 7 ++++++-
c++tools/configure.ac | 2 +-
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/ChangeLog.modules b/ChangeLog.modules
index 29d4726c0e3..61913a4f94f 100644
--- a/ChangeLog.modules
+++ b/ChangeLog.modules
@@ -1,5 +1,9 @@
2020-12-03 Nathan Sidwell <nathan@acm.org>
+ c++tools/
+ * configure.ac: Need ACX_NONCANONICAL_TARGET
+ * configure: Rebuilt.
+
c++tools/
* Makefile.in (libexecdir): Fix typo.
diff --git a/c++tools/configure b/c++tools/configure
index 738b51a3a37..82975120393 100755
--- a/c++tools/configure
+++ b/c++tools/configure
@@ -610,7 +610,7 @@ host_os
host_vendor
host_cpu
host
-host_noncanonical
+target_noncanonical
build_os
build_vendor
build_cpu
@@ -1886,6 +1886,11 @@ esac
*) host_noncanonical=${host_alias} ;;
esac
+ case ${target_alias} in
+ "") target_noncanonical=${host_noncanonical} ;;
+ *) target_noncanonical=${target_alias} ;;
+esac
+
diff --git a/c++tools/configure.ac b/c++tools/configure.ac
index 8d882e541df..75773650be7 100644
--- a/c++tools/configure.ac
+++ b/c++tools/configure.ac
@@ -28,7 +28,7 @@ AC_INIT(c++tools)
AC_CONFIG_SRCDIR([server.cc])
# Determine the noncanonical names used for directories.
-ACX_NONCANONICAL_HOST
+ACX_NONCANONICAL_TARGET
AC_CANONICAL_SYSTEM
AC_PROG_INSTALL
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-03 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 14:55 [gcc/devel/c++-modules] Fix noncanonical_target Nathan Sidwell
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).