diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-07 00:08:43 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-07 00:34:03 -0400 |
commit | a5884035977f95b09c28d4bb2276ac4869930e96 (patch) | |
tree | e0effd688b93b263dd881924a635357344c31a23 /sim/m32c/Makefile.in | |
parent | 8e78e9b9950a899a3c10f48e4f23ea4fd9bafe9b (diff) | |
download | gdb-a5884035977f95b09c28d4bb2276ac4869930e96.zip gdb-a5884035977f95b09c28d4bb2276ac4869930e96.tar.gz gdb-a5884035977f95b09c28d4bb2276ac4869930e96.tar.bz2 |
sim: m32c: switch from custom fgets to getline
No need to implement this ourselves when POSIX has a nice API.
Diffstat (limited to 'sim/m32c/Makefile.in')
-rw-r--r-- | sim/m32c/Makefile.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sim/m32c/Makefile.in b/sim/m32c/Makefile.in index 05aa753..0c101a8 100644 --- a/sim/m32c/Makefile.in +++ b/sim/m32c/Makefile.in @@ -56,14 +56,11 @@ m32c.c : m32c.opc opc2c $(OPC2C) -l m32c.out $(srcdir)/m32c.opc > m32c.c.tmp mv m32c.c.tmp m32c.c -opc2c : opc2c.o safe-fgets.o +opc2c : opc2c.o $(LINK_FOR_BUILD) $^ encodings: grep '/\* [01]' $(srcdir)/r8c.opc | sort -opc2c.o : opc2c.c safe-fgets.h +opc2c.o : opc2c.c $(COMPILE_FOR_BUILD) -c $(srcdir)/opc2c.c - -safe-fgets.o : safe-fgets.c safe-fgets.h - $(COMPILE_FOR_BUILD) -c $(srcdir)/safe-fgets.c |