Fix igen build
authorTom Tromey <tromey@adacore.com>
Tue, 4 May 2021 14:45:46 +0000 (08:45 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 4 May 2021 19:19:33 +0000 (13:19 -0600)
commita0c4531a55c86a40b65cdc7af80473856d029a2e
treead2f42b32c4d18266f54a7e1e104dd51ac34a618
parent937a049c9508d6119b90ae48bba319681c845464
Fix igen build

The igen build fails for me like:

gcc  -g -O2 -c ../../binutils-gdb/sim/igen/igen.c -o igen/igen.o
In file included from ../../binutils-gdb/sim/igen/igen.c:26:
../../binutils-gdb/sim/igen/lf.h:22:10: fatal error: ansidecl.h: No such file or directory

This patch fixes the problem by arranging for igen to find the
libiberty includes.

This seems slightly hacky to me, because libiberty is not a "build"
library, so it can't be linked against.  However, since igen currently
only includes the header, it seems relatively safe.

2021-05-04  Tom Tromey  <tromey@adacore.com>

* Makefile.in: Rebuild.
* Makefile.am (AM_CPPFLAGS): New variable.
sim/ChangeLog
sim/Makefile.am
sim/Makefile.in
This page took 0.0281 seconds and 4 git commands to generate.