Package: dpkg-dev Version: 1.18.24 Severity: wishlist Tags: patch Hello.
A new implementation of /usr/share/dpkg/architecture.mk /usr/share/dpkg/buildflags.mk /usr/share/dpkg/pkg-info.mk is attached. You may use run_tests.sh to check that the behaviour remains the same in most circumstances, but roughly twice faster. The current implementation executes a dpkg-* subprocess when a new Make variable is read, then sets this variable. The new one executes a subprocess when the first variable is read, but then affects all variables so that no later execution is ever performed. This optimization cannot be applied to vendors.mk, but would not help much for 2 variables anyway. If you accept the files, please remove $(if $(dbg),$(warning subshell)) at the end of the dpkg-*-run line of each file. Thanks.
dpkg-patches.tar.gz
Description: application/gzip

