diff options
| author | Marcin Nowakowski <marcin.nowakowski@imgtec.com> | 2016-08-18 12:17:47 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-19 00:02:27 +0200 |
| commit | 2970711de7516b171b9c214be388bad49177b842 (patch) | |
| tree | c30006c7acb549e2ad9021155197a5ab4c59d97a /package/elfutils | |
| parent | 0652eb4d47f7d67a74363b4719ab8b2c5e89c33f (diff) | |
| download | buildroot-2970711de7516b171b9c214be388bad49177b842.tar.gz buildroot-2970711de7516b171b9c214be388bad49177b842.zip | |
package/elfutils: set program-prefix to default ("eu-")
Elfutils program names collide with binutils' binaries. By default
applications provided by elfutils are prefixed with "eu-", but in
Buildroot that setting is overridden by pkg-autotools.
The option in pkg-autotools rules was added to avoid including a target
triple in some packages as a prefix, so restore elfutils default
behaviour by adding a "eu-" program-prefix.
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: add comment in the .mk file explaining why we have a custom
program prefix, as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/elfutils')
| -rw-r--r-- | package/elfutils/elfutils.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/elfutils/elfutils.mk b/package/elfutils/elfutils.mk index b999d0f9cd..6af12236e1 100644 --- a/package/elfutils/elfutils.mk +++ b/package/elfutils/elfutils.mk @@ -14,7 +14,12 @@ ELFUTILS_DEPENDENCIES = zlib # We patch configure.ac ELFUTILS_AUTORECONF = YES -ELFUTILS_CONF_OPTS += --disable-werror + +# Pass a custom program prefix to avoid a naming conflict between +# elfutils binaries and binutils binaries. +ELFUTILS_CONF_OPTS += \ + --disable-werror \ + --program-prefix="eu-" # elfutils gets confused when lfs mode is forced, so don't ELFUTILS_CFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS)) |

