Re: output of haproxy 1.5-dev8 -vv

2012-03-31 Thread Willy Tarreau
Hi Aleks,

On Wed, Mar 28, 2012 at 05:40:08PM +0200, Aleksandar Lazic wrote:
 Hi,
 
 what are you thinking to add all -D flags to -vv output?

You have all those you specified in the make options. The only ones
you don't have are the implicit ones that the Makefile decided to add
for you based on the build options (which are reported).

 When I call -vv I don't know if the SPLICE is integrated int the build 
 or not?

You have OPTIONS = USE_LINUX_SPLICE=1 USE_PCRE=1, which means that if
you do make OPTIONS=USE_LINUX_SPLICE=1 USE_PCRE=1, you'll get the same
binary. I find this much more useful than storing some random -D flags
which are not always easy to reinject into the make command line (which
is the reason why it was changed to be done this way).

Regards,
Willy




Re: output of haproxy 1.5-dev8 -vv

2012-03-31 Thread Aleksandar Lazic

Hi,

On 31-03-2012 18:31, Willy Tarreau wrote:

Hi Aleks,

On Wed, Mar 28, 2012 at 05:40:08PM +0200, Aleksandar Lazic wrote:

When I call -vv I don't know if the SPLICE is integrated int the 
build

or not?


You have OPTIONS = USE_LINUX_SPLICE=1 USE_PCRE=1, which means that 
if
you do make OPTIONS=USE_LINUX_SPLICE=1 USE_PCRE=1, you'll get the 
same
binary. I find this much more useful than storing some random -D 
flags
which are not always easy to reinject into the make command line 
(which

is the reason why it was changed to be done this way).


Ok thanks.

BR

Aleks