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

Bug#67781: marked as done (Update Standards-Version for the tetex-* packages)



On Tue, Sep 19, 2000 at 08:22:46PM +0200, Christoph Martin wrote:
>  > >  > CFLAGS := -O2
>  > >  > ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" ""
>  > >  > CFLAGS += -g
>  > >  > endif
>  > >  > 
>  > >  > And then, in the build rule, pass $(CFLAGS) to configure or make or whatever
>  > >  > is used to build the programs.
>  > > 
>  > > This will work provided that the build scripts / Makefiles correctly
>  > > promote these variables.
>  > 
>  > Yes. Any sane build system can do something like that...
> 
> I looked into the Makefiles today. All binaries are build with
> debuging and are stripped later in the build process. At the end
> dh_strip is called. Does dh_strip look for DEB_BUILD_OPTIONS?

Not sure if that's been changed already... to be sure, surround it with:

ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" ""
        dh_strip
endif

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: