[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo 6.1 drops -arch in darwin build
From: |
Gavin Smith |
Subject: |
Re: texinfo 6.1 drops -arch in darwin build |
Date: |
Sat, 26 Mar 2016 16:34:12 +0000 |
On 6 March 2016 at 09:41, Gavin Smith <address@hidden> wrote:
> On 5 March 2016 at 17:38, Jack Howarth <address@hidden> wrote:
>> When building texinfo 6.1 on x86_64-apple-darwin15, the following
>> correction is required...
>>
>> --- tp/Texinfo/Convert/XSParagraph/configure.ac.orig 2016-03-05
>> 12:31:24.000000000 -0500
>> +++ tp/Texinfo/Convert/XSParagraph/configure.ac 2016-03-05
>> 12:31:46.000000000 -0500
>> @@ -42,7 +42,7 @@
>> fetch_conf $1
>>
>> # Remove any flags that aren't -I or -D
>> - conf_value=`echo $conf_value | sed -e 's/-@<:@^ID@:>@@<:@^
>> @:>@*//g'`
>> + conf_value=`echo $conf_value | sed -e 's/-@<:@^aID@:>@@<:@^
>> @:>@*//g'`
>> AC_MSG_RESULT([$conf_value])
>>
>> AC_SUBST([PERL_CONF_$1], [$conf_value])
>>
>> to prevent the instances of '-arch i386 -arch x86_64' in the perl
>> compiler flags from being turned into 'i386 x86_64' and breaking the
>> compilation of XSParagraph.
>
> I can't remember why we wanted to remove these flags in the first
> place: I think it was so they would be compiler-independent, but we
> also look up which compiler to use, so that shouldn't be a problem.
>
> Does completely removing the line starting "conf_value=`echo ..." work?
I've gone ahead and removed the code that tried to remove particular
flags. We'll see what happens.