mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
ld/
* 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.
This commit is contained in:
6
ld/ldlex-wrapper.c
Normal file
6
ld/ldlex-wrapper.c
Normal file
@@ -0,0 +1,6 @@
|
||||
/* 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"
|
||||
Reference in New Issue
Block a user