cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Add more compiler flags

From: Cornel Punga <cornel.punga_at_gmail.com>
Date: Fri, 23 Sep 2016 19:02:06 +0000

Hello,

Thank you very much for the helpful information.

Cornel

În Mar, 20 sept. 2016, 09:04 Daniel Stenberg, <daniel_at_haxx.se> a scris:

> On Mon, 19 Sep 2016, Cornel Punga wrote:
>
> > I want to build curl on Debian 8 x64, using source code from Git with
> more
> > compiler flags. Where should I add the flags?
>
> 1. You can invoke configure with "configure CFLAGS=-Wfoo"
>
> 2. You can add them to the make process with "make CFLAGS=-Wfoo"
>
> 3. You can manually add them to the {src/lib}/Makefile after you've ran
> configure
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-users
> FAQ: https://curl.haxx.se/docs/faq.html
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-09-23