shithub: scc

Download patch

ref: a033c20344b9ee8a761e3da0320f931c05bf88d1
parent: c0eb41837bdc0ae78cfab986ee867945917d915f
author: Quentin Rameau <quinq@fifth.space>
date: Fri May 29 13:14:16 EDT 2020

libc: fix crt path in Makefile

This fixes a source path modifier in e4dd267, but not modified in the
build system.

--- a/src/libc/arch/amd64/netbsd/Makefile
+++ b/src/libc/arch/amd64/netbsd/Makefile
@@ -34,7 +34,7 @@
 $(LIBC): $(OBJS)
 	$(MKLST)
 
-crt.$O: ../crt-posix.s ../../crt-netbsd.s
+crt.$O: ../crt-posix.s ../netbsd/crt.s
 
 $(GENSRC): syscall.lst
 	gensys.sh $(@:.s=)
--- a/src/libc/arch/amd64/openbsd/Makefile
+++ b/src/libc/arch/amd64/openbsd/Makefile
@@ -32,7 +32,7 @@
 $(LIBC): $(OBJS)
 	$(MKLST)
 
-crt.$O: ../crt-posix.s ../../crt-openbsd.s
+crt.$O: ../crt-posix.s ../openbsd/crt.s
 
 $(GENSRC): syscall.lst
 	gensys.sh $(@:.s=)