On 03/26/2010 12:53 PM, Marco Maggi wrote:
"Ben Greear" wrote:
The  configure stage  is  using -Werror  for it's  various
tests and many of them are failing.

Does  anyone   know  how  to   pass  flags  only   to  the
compile-state of CURL and not to the configure stage?

Sorry if  I do not understand you  correctly; while building
curl, you want to use  custom flags for the compiler but you
do not want to break the test program run by the "configure"
script?

   If  you  are using  the  Makefile  running  "make" from  a
terminal, after configuration, it should be enough to:

   $ 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.

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to