public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] libgloss: visium: fix sbrk search path
@ 2024-01-20  3:25 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2024-01-20  3:25 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5798c3bbc783e83f6a144dd3148dd08d785dabdf

commit 5798c3bbc783e83f6a144dd3148dd08d785dabdf
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Wed Dec 27 01:20:50 2023 -0500

    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.

Diff:
---
 libgloss/visium/Makefile.in | 3 +++
 1 file changed, 3 insertions(+)

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 $@ $<

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-20  3:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-20  3:25 [newlib-cygwin/main] libgloss: visium: fix sbrk search path Michael Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).