I had some holiday, so I can only respond now. Am 10.10.2010 11:40, schrieb Julien Cristau: > On Sun, Oct 10, 2010 at 11:14:25 +0200, Christoph Egger wrote: > >> Julien Cristau <jcris...@debian.org> writes: >>> On Sat, Oct 9, 2010 at 14:23:23 +0200, Christoph Martin wrote: >>> >>>> Thanks for the answer. The upload now succeded. >>>> >>> +DEB_BUILD_OPTIONS += $(if $(BYTECODE)," nostrip",) >>> >>> Is that guaranteed to get exported to dh_strip's environment? >> >> It at least seems to work on the mipsel buildds (package is working >> now!) >> > That might just mean they have DEB_BUILD_OPTIONS set in the environment > already (for parallel build or whatever).
I did some research on this. If DEB_BUILD_OPTIONS is set when debuild is invoked, the makefile debian/rules updates the environment variable DEB_BUILD_OPTIONS with nostrip and dh_strip will work as intended. In the other case DEB_BUILD_OPTIONS is only a make variable which will not be exported to environment. So explicitly exporting the variable in debian/rules is the correct way. I prepare a new upload. Christoph -- ============================================================================ Christoph Martin, Zentrum für Datenverarbeitung, Uni-Mainz, Germany Instant-Messaging: Jabber: mar...@uni-mainz.de (Siehe http://www.zdv.uni-mainz.de/4010.php)
<<attachment: martin.vcf>>
signature.asc
Description: OpenPGP digital signature