[PATCH] Fix finding default baseline symbols directory

Andreas Schwab schwab@linux-m68k.org
Fri Sep 26 21:42:00 GMT 2014


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."



More information about the Gcc-patches mailing list