Pass DEBUGINFOD_CFLAGS when compiling dwarf.c
authorAlan Modra <amodra@gmail.com>
Wed, 17 Nov 2021 04:40:04 +0000 (15:10 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 18 Nov 2021 08:18:24 +0000 (18:48 +1030)
commit2cd93e7081167a002e568f03a72feabd7f187820
treec8b74fabb6a4c9cc12439a86683ac0e80c5e930f
parent273a32ac6564647cadfb15600385a003ef7486aa
Pass DEBUGINFOD_CFLAGS when compiling dwarf.c

Pick up the elfutils/debuginfod.h install location -I flags from
a variable set by debuginfod.m4 (via pkg.m4 and pkg-config).

* Makefile.am (DEBUGINFOD_CFLAGS): Define.
(dwarf.@OBJECT@): New rule.
binutils/Makefile.am
binutils/Makefile.in