This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[PATCH] Fix finding default baseline symbols directory
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: libstdc++ at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Sep 2014 23:42:46 +0200
- Subject: [PATCH] Fix finding default baseline symbols directory
- Authentication-results: sourceware.org; auth=none
Tested on aarch64-suse-linux, where try_cpu=generic.
Andreas.
* configure.host: Use host_cpu, not try_cpu, to define default
abi_baseline_pair.
---
libstdc++-v3/configure.host | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index a12871a..abfd609 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -346,8 +346,8 @@ case "${host}" in
abi_baseline_pair=x86_64-linux-gnu
;;
*)
- if test -d ${glibcxx_srcdir}/config/abi/post/${try_cpu}-linux-gnu; then
- abi_baseline_pair=${try_cpu}-linux-gnu
+ if test -d ${glibcxx_srcdir}/config/abi/post/${host_cpu}-linux-gnu; then
+ abi_baseline_pair=${host_cpu}-linux-gnu
fi
esac
case "${host}" in
--
2.1.1
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."