diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-27 09:20:50 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-31 09:43:46 +0300 |
commit | 7eb6429d4d0b57994d44cce8737131ca6b9ea68d (patch) | |
tree | 09f2de87aa47ca047a7936fa4300f7b510accefc | |
parent | fdbef758375eabb6381fd45b6a987fdec4ad028c (diff) |
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 0e1789a26..bc18b2951 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 $@ $< |