Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-27 09:20:50 +0300
committerMike Frysinger <vapier@gentoo.org>2024-01-20 04:26:52 +0300
commit5798c3bbc783e83f6a144dd3148dd08d785dabdf (patch)
treea382a2e80c839f90e6077b93ea865cea79d41252 /libgloss
parentaf075aed1d6fcd51405247654bc68365352ab367 (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.
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/visium/Makefile.in3
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 $@ $<