[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANN: ncurses-6.0-20160827
From: |
Sven Joachim |
Subject: |
Re: ANN: ncurses-6.0-20160827 |
Date: |
Wed, 31 Aug 2016 20:20:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
On 2016-08-29 21:00 -0400, Thomas Dickey wrote:
> On Mon, Aug 29, 2016 at 06:47:14PM +0200, Sven Joachim wrote:
>> On 2016-08-28 01:47 +0000, Thomas Dickey wrote:
>>
>> > 20160827
>> > + improve CF_CC_ENV_FLAGS macro to allow for compiler wrappers such
>> > as "ccache" (report by Enrico Scholz).
>>
>> This brings back the multilib build failure reported in
>> https://lists.gnu.org/archive/html/bug-ncurses/2016-06/msg00010.html. :-(
>
> something like this should work, then:
>
> diff -u -r1.794 aclocal.m4
> --- aclocal.m4 2016/08/27 16:24:33 1.794
> +++ aclocal.m4 2016/08/30 00:57:00
> @@ -736,7 +736,17 @@
> # humor him...
> cf_flags=`echo "$CC" | sed -e 's/^.*[[ ]]\(-[[^ ]]\)/\1/'`
> CC=`echo "$CC " | sed -e 's/[[ ]]-[[^ ]].*$//' -e 's/[[ ]]*$//'`
> - CF_ADD_CFLAGS($cf_flags)
> + for cf_arg in $cf_flags
> + do
> + case "x$cf_arg" in
> + (x-[[IUDfgOW]]*)
> + CF_ADD_CFLAGS($cf_flags)
> + ;;
> + (*)
> + CC="$CC $cf_arg"
> + ;;
> + esac
> + done
> CF_VERBOSE(resulting CC: '$CC')
> CF_VERBOSE(resulting CFLAGS: '$CFLAGS')
> CF_VERBOSE(resulting CPPFLAGS: '$CPPFLAGS')
Works for me, thanks.
Cheers,
Sven