[PATCH] fix in-tree-binutils builds

H.J. Lu hjl.tools@gmail.com
Wed Jul 15 16:18:00 GMT 2015


On Wed, Jul 15, 2015 at 9:11 AM, Jan Beulich <JBeulich@suse.com> wrote:
>>>> 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.
>

I updated my patch to check $gcc_cv_as_gas_srcdir/configure.ac
in _gcc_COMPUTE_GAS_VERSION.

My last patch was sent to gcc, not gcc-patches.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Also-check-configure.ac-in-binutils-source-tree.patch
Type: text/x-patch
Size: 9682 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150715/bba5f08e/attachment.bin>


More information about the Binutils mailing list