curl-library
Re: curl configuration and CFLAGS
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 26 Mar 2010 23:31:51 +0100 (CET)
Date: Fri, 26 Mar 2010 23:31:51 +0100 (CET)
On Fri, 26 Mar 2010, Ben Greear wrote:
>> $ make CFLAGS='<your flags here>'
>
> I was hoping to have it be a configure option. I got something working (see
> patch I posted a few minutes ago), but the logic that adds -Werror by
> cat'ing a file is pretty ugly.
It's rather ugly and very very specific for your idea. I don't see what's
wrong with Marco Maggi's suggestion, or by simply watching for the warnings in
the output! I don't think it's worth adding code to support such an extreme
edge-case.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-03-26