Re: [PATCH] Fix compile errors on Debian systems

From: Jean-Baptiste Quenot <>
Date: Wed, 2 Jan 2008 10:06:07 +0100

2008/1/1, Arnaud Cornet <>:
> > Also, I'd be very interested in knowing what CFLAGS used by Debian manage
> > to break the build process. If there is a weakness anywhere, we should
> > address it and not only the symptoms.
> I have no idea of the work of Jean-Baptiste Quenot, but my guess is that
> this problem has nothing to do with building haproxy on debian but
> rather to build the debian *package* on debian (as this is a problem I
> encountered and fixed in debian haproxy package).

Yes exactly, I should have stated this.

BTW, as I see you're actively maintaining haproxy package, did you upload some updates since 1.3.12? I can't find any recent version, see

> The problem is that CFLAGS variables a classically overriden in debian
> packages using commands such as
> make CFLAGS="-O2 -g"
> When using this, the following makefile line is overridden:
> CFLAGS = -Wall $(COPTS) $(DEBUG)
> Hence, the COPTS variable is ignored. The COPTS variable has the
> -Iinclude flags, trying to builds without this obviously breaks.

Exactly. And correct me if I'm wrong but it's possible that other systems are affected, because overriding CFLAGS is a common usecase, eg on FreeBSD.

All the best,

Jean-Baptiste Quenot
Received on 2008/01/02 10:06

This archive was generated by hypermail 2.2.0 : 2008/01/02 10:15 CET