Re: Debian bug #511668
* Mathieu Malaterre <mathieu.malaterre@gmail.com> [090113 11:05]:
> It looks like this is just a matter of sed'ing the Makefile.src
> file: config/templates/Makefile.src and replace:
>
> for prog in $(progs); do \
> $(INSTALL_PROGRAM) $$prog$(BINEXT) $(bindir); strip
> $(bindir)/$$prog$(BINEXT) ;\
> done
>
>
> into
>
> for prog in $(progs); do \
> $(INSTALL_PROGRAM) $$prog$(BINEXT) $(bindir);
> done
>
> What do you think ?
This would leave all binaries unstripped which would violate
policy 10.1 (" [...] Note that by default all installed binaries
should be stripped.")
You'll also have to adjust the INSTALL_PROGRAM (e.g. by adding -s)
according to DEB_BUILD_OPTIONS tag:
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
Best regards - Juergen
--
GPG A997BA7A | 87FC DA31 5F00 C885 0DC3 E28F BD0D 4B33 A997 BA7A
Reply to: