On Tue, 2018-02-27 at 13:58 +0300, kact...@gnu.org wrote: > Anyhow, if you want to enable, you can do something like this, to > make > > me and you happy, and then easily revert when new bugs are opened > > > HAVE_DIETLIBC=no > ifeq ($(shell dpkg -s dietlibc-dev | grep -o installed), installed) > DIET_LIBDIR := $(shell diet -L gcc) > HAVE_DIETLIBC=yes > endif > > ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes) > HAVE_DIETLIBC=no > endif
This means building the package will give different results depending on dietlibc-dev installed or not? That shouldn't happen... Please check via some other means that a build using dietlibc has been requested; don't do different things just because a package happens to be installed. Ansgar