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

Bug#430649: New proposed wording for DEB_BUILD_OPTIONS



On Sun, Dec 30, 2007, Russ Allbery wrote:
> Comments?  Seconds?

 Thanks for your wording!

> +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
> +    CFLAGS += -O0
> +else
> +    CFLAGS += -O2
> +endif

 I personally use:

    CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)

 in my packages; perhaps slightly harder to read the first time, but
 soon becomes a well known line which eats less space.

-- 
Loïc Minier



Reply to: