This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix in-tree-binutils builds
- From: "Jan Beulich" <JBeulich at suse dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Binutils" <binutils at sourceware dot org>
- Date: Wed, 15 Jul 2015 17:11:54 +0100
- Subject: Re: [PATCH] fix in-tree-binutils builds
- Authentication-results: sourceware.org; auth=none
- References: <55A62FD90200007800091184 at mail dot emea dot novell dot com> <CAMe9rOo6G-73GXdaK5_EU_YXmfVUhdt5iSO8eCr=1qgFPLV6Bg at mail dot gmail dot com>
>>> On 15.07.15 at 18:07, <hjl.tools@gmail.com> wrote:
> On Wed, Jul 15, 2015 at 1:03 AM, Jan Beulich <JBeulich@suse.com> wrote:
>> --- a/gcc/acinclude.m4
>> +++ b/gcc/acinclude.m4
>> @@ -390,7 +390,7 @@ AC_DEFUN([_gcc_COMPUTE_GAS_VERSION],
>> [gcc_cv_as_bfd_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/bfd
>> for f in $gcc_cv_as_bfd_srcdir/configure \
>> $gcc_cv_as_gas_srcdir/configure \
>> - $gcc_cv_as_gas_srcdir/configure.in \
>> + $gcc_cv_as_gas_srcdir/configure.[ai][cn] \
>> $gcc_cv_as_gas_srcdir/Makefile.in ; do
>> gcc_cv_gas_version=`sed -n -e 's/^[[ ]]*VERSION=[[^0-9A-Za-z_]]*\([[0-9]]*\.[[0-9]]*.*\)/VERSION=\1/p' < $f`
>
> How portable is [ai][cn]?
I'm not sure - that's why I asked yesterday whether that approach
would be acceptable.
Jan