mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
45e481d13b
* Makefile.am (CFILES): Add ldlex-wrapper.c. (OFILES): Replace ldlex.c with ldlex-wrapper.c. (ldlex.o): Replace with... (ldlex-wrapper.o): ...this new rule. (EXTRA_ld_new_SOURCES): Add ldlex.l. (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c. * Makefile.in: Regenerate. * ldlex.l (sysdep.h): Don't include here. * ldlex-wrapper.c: New file.
7 lines
270 B
C
7 lines
270 B
C
/* The flex output (ldlex.c) includes stdio.h before any of the C code
|
|
in ldlex.l. Make sure we include sysdep.h first, so that config.h
|
|
can select the correct value of things like _FILE_OFFSET_BITS and
|
|
_LARGE_FILES. */
|
|
#include "sysdep.h"
|
|
#include "ldlex.c"
|