elfutils: disable for static builds
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 5 Nov 2014 10:42:46 +0000 (10:42 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 7 Nov 2014 07:55:34 +0000 (08:55 +0100)
commit9406d4dc02b5fa452ff487b1c5ce9a891388b919
tree8d04947dae698e6931b437b28dd7caeb7ab74903
parentc092462f9f8dfd1a3dadf2bb70e7ab3cebfec3c5
elfutils: disable for static builds

Even when doing static builds, a shared library is built. This causes a
build failure under some circumstances, for instance when building for
MIPS + uClibc + static.

After asking upstream if it would be possible to add a configure option
to not build the shared library, the answer was that doing a static
build is not a good idea. Here is a small snippet of the conversation:

"Note that fully static builds are problematic.  elfutils uses dlopen to
open the EBL backends (the CPU-specific support snippets), so even if
you link statically, the final binaries are still considerably dynamic."

Related:
  https://lists.fedorahosted.org/pipermail/elfutils-devel/2014-November/004223.html

Fixes:
  http://autobuild.buildroot.net/results/691/6913f5af6519463fbed39ef37b6a40ecf6a67b54/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/avrdude/Config.in
package/elfutils/Config.in
package/kexec-lite/Config.in
package/ltrace/Config.in