[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [med-svn] r2775 - trunk/packages/velvet/trunk/debian



On Fri, Dec 12, 2008 at 08:55:40PM +0900, Charles Plessy wrote:
> Le Fri, Dec 12, 2008 at 12:52:12PM +0100, Mathieu Malaterre a ?crit :
> > >
> > > -DEB_MAKE_BUILD_TARGET = obj velveth velvetg Z_LIB_FILES='' LDFLAGS='-lm -lz'
> > > +DEB_MAKE_BUILD_TARGET = obj velveth velvetg Z_LIB_FILES='' LDFLAGS='-lm -lz' OPT='-O2'

> Here is Upstream's Makefile:
> 
> CC = gcc
> CFLAGS = -Wall
> DEBUG = -g 
> LDFLAGS = -lm
> OPT = -O3
> (...)
> 
> As you see, $(OPT) comes after $(CFLAGS), and is set to -O3. We therefore have
> to override it directly.

OK.  But if upstream believes a default build should use -O3, why is
Debian overriding it to -O2?

-S

Attachment: signature.asc
Description: Digital signature


Reply to: