shithub: scc

Download patch

ref: 7620707229d954e89c6462ee631b93e68a7ac7c1
parent: 768a2298d7afc53236e8e162043ff81fbaae68a4
parent: 2f72fce328c804346ac9bba13e26b1789fc5dc1c
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Jan 18 13:41:19 EST 2020

Merge branch 'master' of ssh://simple-cc.org:/var/gitrepos/scc

--- a/src/libc/arch/amd64/darwin/Makefile
+++ b/src/libc/arch/amd64/darwin/Makefile
@@ -36,7 +36,7 @@
 crt.$O: ../crt-posix.s
 
 $(GENSRC): syscall.lst
-	gensys.sh $*
+	gensys.sh $(@:.s=)
 
 dep: inc-dep
 
--- a/src/libc/arch/amd64/dragonfly/Makefile
+++ b/src/libc/arch/amd64/dragonfly/Makefile
@@ -37,7 +37,7 @@
 crt.$O: ../crt-posix.s
 
 $(GENSRC): syscall.lst
-	gensys.sh $*
+	gensys.sh $(@:.s=)
 
 dep: inc-dep
 
--- a/src/libc/arch/amd64/linux/Makefile
+++ b/src/libc/arch/amd64/linux/Makefile
@@ -38,7 +38,7 @@
 crt.$O: ../crt-posix.s
 
 $(GENSRC): syscall.lst
-	gensys.sh $*
+	gensys.sh $(@:.s=)
 
 dep: inc-dep
 
--- a/src/libc/arch/amd64/netbsd/Makefile
+++ b/src/libc/arch/amd64/netbsd/Makefile
@@ -37,7 +37,7 @@
 crt.$O: ../crt-posix.s ../../crt-netbsd.s
 
 $(GENSRC): syscall.lst
-	gensys.sh $*
+	gensys.sh $(@:.s=)
 
 deps: inc-dep
 
--- a/src/libc/arch/amd64/openbsd/Makefile
+++ b/src/libc/arch/amd64/openbsd/Makefile
@@ -35,7 +35,7 @@
 crt.$O: ../crt-posix.s ../../crt-openbsd.s
 
 $(GENSRC): syscall.lst
-	gensys.sh $*
+	gensys.sh $(@:.s=)
 
 dep: inc-dep
 
--- a/src/libc/arch/arm32/linux/Makefile
+++ b/src/libc/arch/arm32/linux/Makefile
@@ -37,7 +37,7 @@
 crt.o: ../crt-posix.s
 
 $(GENSRC): syscall.lst
-	gensys.sh $*
+	gensys.sh $(@:.s=)
 
 dep: inc-dep
 
--- a/src/libc/arch/i386/linux/Makefile
+++ b/src/libc/arch/i386/linux/Makefile
@@ -33,7 +33,7 @@
 crt.o: ../crt-posix.s
 
 $(GENSRC): syscall.lst
-	gensys.sh $*
+	gensys.sh $(@:.s=)
 
 dep: inc-dep