summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-05-29 11:31:16 +0100
committerNick Clifton <nickc@redhat.com>2019-05-29 11:32:34 +0100
commit90bd54236cb8b1c31c3662977159be971044c20d (patch)
treeae40336bf812074b3c26b51190e33a59946ef2e8 /binutils/Makefile.in
parentFix libctf build on non-ELF targets. (diff)
downloadbinutils-gdb-90bd54236cb8b1c31c3662977159be971044c20d.tar.gz
binutils-gdb-90bd54236cb8b1c31c3662977159be971044c20d.tar.bz2
binutils-gdb-90bd54236cb8b1c31c3662977159be971044c20d.zip
Do not build libctf for targets that do not use the ELF file format.
top * configure.ac (noconfigdirs): Add libctf if the target does not use the ELF file format. * configure: Regenerate. binutils* configure.ac (LIBCTF): Export. Set to empty for non-ELF based targets. (HAVE_LIBCTF): Define if libctf support is available. * Makefile.am (LIBCTF): Set value to @LIBCTF@. * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being defined. * readelf.c: Likewise. * configure: Regenerate. * Makefile.in: Regenerate. * config.in: Regenerate.
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r--binutils/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 480385bd67b..705b19e1b5d 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -443,6 +443,7 @@ LDFLAGS = @LDFLAGS@
LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBCTF = @LIBCTF@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBINTL_DEP = @LIBINTL_DEP@
@@ -648,7 +649,6 @@ BULIBS = bucomm.c version.c filemode.c
ELFLIBS = elfcomm.c
BFDLIB = ../bfd/libbfd.la
OPCODES = ../opcodes/libopcodes.la
-LIBCTF = ../libctf/libctf.a
LIBIBERTY = ../libiberty/libiberty.a
POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
EXPECT = expect