commit ced81155d46b83c9cc32008113bfc6bd47103ce2 parent 7f6565e51fd8a830fdb5fb7a629d00d0e8e11b61 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Wed, 6 Nov 2024 09:18:48 +0100 build/libc: Fix assembler command lines for amd64 They were missing the -o to set the output file name. Diffstat:
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/libc/arch/amd64/darwin/Makefile b/src/libc/arch/amd64/darwin/Makefile @@ -26,7 +26,7 @@ $(CRT): ../crt-posix.s $(GENOBJS): syscall.lst ./gensys.sh $(@:.$O=) - $(AS) $(PROJ_ASFLAGS) $(@:.$O=.s) + $(AS) $(PROJ_ASFLAGS) -o $@ $(@:.$O=.s) clean: rm -f $(GENOBJS:.$O=.s) _sys_errlist.c diff --git a/src/libc/arch/amd64/dragonfly/Makefile b/src/libc/arch/amd64/dragonfly/Makefile @@ -26,7 +26,7 @@ $(CRT): ../crt-posix.s $(GENOBJS): syscall.lst ./gensys.sh $(@:.$O=) - $(AS) $(PROJ_ASFLAGS) $(@:.$O=.s) + $(AS) $(PROJ_ASFLAGS) -o $@ $(@:.$O=.s) clean: rm -f $(GENOBJS:.$O=.s) _sys_errlist.c diff --git a/src/libc/arch/amd64/freebsd/Makefile b/src/libc/arch/amd64/freebsd/Makefile @@ -17,7 +17,7 @@ $(CRT): ../crt-posix.s $(GENOBJS): syscall.lst ./gensys.sh $(@:.$O=) - $(AS) $(PROJ_ASFLAGS) $(@:.$O=.s) + $(AS) $(PROJ_ASFLAGS) -o $@ $(@:.$O=.s) clean: rm -f $(GENOBJS:.$O=.s) _sys_errlist.c diff --git a/src/libc/arch/amd64/linux/Makefile b/src/libc/arch/amd64/linux/Makefile @@ -37,7 +37,7 @@ $(CRT): ../crt-posix.s $(GENOBJS): syscall.lst ./gensys.sh $(@:.$O=) - $(AS) $(PROJ_ASFLAGS) $(@:.$O=.s) + $(AS) $(PROJ_ASFLAGS) -o $@ $(@:.$O=.s) clean: rm -f $(GENOBJS:.$O=.s) _sys_errlist.c diff --git a/src/libc/arch/amd64/netbsd/Makefile b/src/libc/arch/amd64/netbsd/Makefile @@ -30,7 +30,7 @@ crt.$O: ../crt-posix.s ../netbsd/crt.s $(GENOBJS): syscall.lst ./gensys.sh $(@:.$O=) - $(AS) $(PROJ_ASFLAGS) $(@:.$O=.s) + $(AS) $(PROJ_ASFLAGS) -o $@ $(@:.$O=.s) clean: rm -f $(GENOBJS:.$O=.s) _sys_errlist.c diff --git a/src/libc/arch/amd64/openbsd/Makefile b/src/libc/arch/amd64/openbsd/Makefile @@ -34,7 +34,7 @@ $(CRT): ../crt-posix.s ../openbsd/crt.s $(GENOBJS): syscall.lst ./gensys.sh $(@:.$O=) - $(AS) $(PROJ_ASFLAGS) $(@:.$O=.s) + $(AS) $(PROJ_ASFLAGS) -o $@ $(@:.$O=.s) clean: rm -f $(GENOBJS:.$O=.s) _sys_errlist.c diff --git a/src/libc/arch/arm64/linux/Makefile b/src/libc/arch/arm64/linux/Makefile @@ -30,7 +30,7 @@ $(CRT): ../crt-posix.s $(GENOBJS): syscall.lst ./gensys.sh $(@:.$O=) - $(AS) $(PROJ_ASFLAGS) $(@:.$O=.s) + $(AS) $(PROJ_ASFLAGS) -o $@ $(@:.$O=.s) clean: rm -f $(GENOBJS:.$O=.s) _sys_errlist.c