mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-31 18:44:48 +01:00
Jérôme Duval
d534b97c8b
binutils: fix out of tree building with syslex regens
If you take a release tarball (which has pregenerated syslex and sysinfo files in it), apply some patches which touch syslex.l, and then build the result out of tree, it will fail. This is because syslex.l uses sysinfo.h, but the sysinfo.y file wasn't updated and so it wasn't regenerated (the files are found in the $srcdir), and the build rule for syslex.c does not use -I$(srcdir) when it finds a local file. Simple fix below. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Description
No description provided
Languages
C
38.1%
C++
21.3%
Makefile
9.1%
Ada
7.7%
D
4.3%
Other
18.8%