bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: ncurses-6.0-20160827


From: Thomas Dickey
Subject: Re: ANN: ncurses-6.0-20160827
Date: Mon, 29 Aug 2016 21:00:14 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

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')

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]