gdb/Makefile.in: Add DEBUGINFOD_CFLAGS, DEBUGINFOD_LIBS variables.
authorAaron Merey <amerey@redhat.com>
Tue, 18 Aug 2020 22:02:26 +0000 (18:02 -0400)
committerAaron Merey <amerey@redhat.com>
Tue, 18 Aug 2020 22:02:26 +0000 (18:02 -0400)
commitd138725a62c3fd04cd1b34352d778d6682c73694
tree1cbdfd2a746f64acd11759216f58ffaf44020aa6
parent587a4371760ea2d4dc82571d488def304a3981ca
gdb/Makefile.in: Add DEBUGINFOD_CFLAGS, DEBUGINFOD_LIBS variables.

Introduce Makefile variables DEBUGINFOD_CFLAGS and DEBUGINFOD_LIBS
that map to the configuration variables of the same names.

Replace @DEBUGINFOD_LIBS@ with $(DEBUGINFOD_LIBS) in the definition
of CLIBS in order to conform to the usage of other *_LIBS variables
in Makefile.in.

Add DEBUGINFOD_CFLAGS to INTERNAL_CFLAGS_BASE. This fixes an issue
where GDB would fail to find debuginfod.h if it was not installed
in a default location searched by the compiler.

gdb/ChangeLog:

* Makefile.in (DEBUGINFOD_CFLAGS, DEBUGINFOD_LIBS): New variables.
(INTERNAL_CFLAGS_BASE): Add DEBUGINFOD_CFLAGS.
(CLIBS): Add DEBUGINFOD_LIBS.
gdb/ChangeLog
gdb/Makefile.in