diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-27 01:20:50 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-19 20:26:52 -0500 |
commit | 5798c3bbc783e83f6a144dd3148dd08d785dabdf (patch) | |
tree | a382a2e80c839f90e6077b93ea865cea79d41252 | |
parent | af075aed1d6fcd51405247654bc68365352ab367 (diff) | |
download | newlib-5798c3bbc783e83f6a144dd3148dd08d785dabdf.zip newlib-5798c3bbc783e83f6a144dd3148dd08d785dabdf.tar.gz newlib-5798c3bbc783e83f6a144dd3148dd08d785dabdf.tar.bz2 |
libgloss: visium: fix sbrk search path
The code was loading the common ../sbrk.c file rather than the visium
specific sbrk.c due to VPATH setup. Add an explicit rule for this one
file so we make sure the correct one is used.
-rw-r--r-- | libgloss/visium/Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/visium/Makefile.in b/libgloss/visium/Makefile.in index 0e1789a..bc18b29 100644 --- a/libgloss/visium/Makefile.in +++ b/libgloss/visium/Makefile.in @@ -97,6 +97,9 @@ sim-syscalls.o: syscalls.c syscall.h io.h debug-syscalls.o: syscalls.c syscall.h io.h ${CC} ${CFLAGS_FOR_TARGET} ${CFLAGS} -c -o $@ $< +sbrk.o: $(srcdir)/sbrk.c + ${CC} ${CFLAGS_FOR_TARGET} ${CFLAGS} -c -o $@ $< + $(OBJS): %.o: ../%.c ${CC} ${CFLAGS_FOR_TARGET} ${CFLAGS} -c -o $@ $< |