public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin/main] libgloss: visium: fix sbrk search path
Date: Sat, 20 Jan 2024 03:25:28 +0000 (GMT)	[thread overview]
Message-ID: <20240120032528.48B533858D39@sourceware.org> (raw)

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

                 reply	other threads:[~2024-01-20  3:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240120032528.48B533858D39@sourceware.org \
    --to=vapier@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).