cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Add more compiler flags

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 20 Sep 2016 07:59:49 +0200 (CEST)

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
Received on 2016-09-20