[PATCH] Add a --{enable,disable}-progs configure option

Mark Wielaard mark@klomp.org
Fri Oct 2 22:02:37 GMT 2020


On Thu, Oct 01, 2020 at 08:34:47PM +0200, Fabrice Fontaine via Elfutils-devel wrote:
> From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Add a --{enable,disable}-progs configuration option to elfutils. This
> allows to selectively disable the compilation of the elfutils programs
> (in which case only the libraries are built and installed). This is
> useful because the programs are often not needed, and also because
> building the programs against uClibc causes several issues (lack of
> obstack_printf() in uClibc for example).

I understand why you might want this and it seems to do as described.
But I am slightly reluctant to apply this because it totally breaks
make check. How do you check the build is really correct? Would it be
possible to use a small subset of the testsuite with --disable-progs?



More information about the Elfutils-devel mailing list