aboutsummaryrefslogtreecommitdiff
path: root/lib/csu/riscv
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-06-26 19:46:30 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-06-26 19:46:30 +0000
commit85a2ea3f5785a299db029b84eee6d33d174e38da (patch)
treed9b026f72936b8f86f033d1db508f3744109541a /lib/csu/riscv
parentf4beb2edcde327a49f034da26bb2e5aadcec922a (diff)
Notes
Diffstat (limited to 'lib/csu/riscv')
-rw-r--r--lib/csu/riscv/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/riscv/Makefile b/lib/csu/riscv/Makefile
index 1ba9c190b70aa..4898b8286c01a 100644
--- a/lib/csu/riscv/Makefile
+++ b/lib/csu/riscv/Makefile
@@ -24,15 +24,15 @@ gcrt1_c.o: crt1_c.c
${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c
gcrt1.o: gcrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o
- ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC}
+ ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o}
crt1.o: crt1_c.o crt1_s.o crtbrand.o ignore_init_note.o
- ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC}
+ ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o}
Scrt1_c.o: crt1_c.c
${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c
Scrt1.o: Scrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o
- ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC}
+ ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o}
.include <bsd.lib.mk>