Re: Policy for DEB_BUILD_OPTIONS

2001-04-22 Thread Bob Hilliard
[EMAIL PROTECTED] (Colin Watson) writes: > No, if DEB_BUILD_OPTIONS=nostrip, then the value of > $(findstring nostrip,$(DEB_BUILD_OPTIONS) will be nostrip, and > ifeq (,nostrip) is false ... thus binaries won't be stripped. The > multiple negatives are a bit on the confusing side. Thanks for

Re: Policy for DEB_BUILD_OPTIONS

2001-04-21 Thread Colin Watson
Bob Hilliard <[EMAIL PROTECTED]> wrote: > The following makefile snippet is suggested to implement this >recommendation: > >ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) >CFLAGS += -g >endif >ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))

Policy for DEB_BUILD_OPTIONS

2001-04-21 Thread Bob Hilliard
Policy version 3.5.3.0, Section 11.1. Binaries, includes the following recommendation: If the environment variable `DEB_BUILD_OPTIONS' contains the string `debug', compile the software with debugging information (usually this involves adding the `-g' flag t