From: schwab Date: Mon, 29 Sep 2014 22:33:41 +0000 (+0000) Subject: * configure.host (abi_baseline_pair): If try_cpu is generic use X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=872c819dbae7685dcb66ec1d0499fbab1193b66b;p=thirdparty%2Fgcc.git * configure.host (abi_baseline_pair): If try_cpu is generic use host_cpu for the default. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215695 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6560372986fc..06940012e326 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2014-09-30 Andreas Schwab + + * configure.host (abi_baseline_pair): If try_cpu is generic use + host_cpu for the default. + 2014-09-29 François Dumont PR libstdc++/62313 diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index a12871aa365f..d1298c43cf5b 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -346,8 +346,13 @@ 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 $try_cpu = generic; then + try_abi_cpu=$host_cpu + else + try_abi_cpu=$try_cpu + fi + if test -d ${glibcxx_srcdir}/config/abi/post/${try_abi_cpu}-linux-gnu; then + abi_baseline_pair=${try_abi_cpu}-linux-gnu fi esac case "${host}" in