summaryrefslogtreecommitdiff
path: root/lib/csu
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2019-06-15 17:08:32 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2019-06-15 17:08:32 +0000
commitdcf1f8387612bdb3d0c2fc1b750956c2932e41aa (patch)
tree3bf7849db006c25fc2a28c51600b75561826701e /lib/csu
parent9e0a1e78e5492d22cd9cdcb24882bf4212e46f85 (diff)
downloadsrc-test2-dcf1f8387612bdb3d0c2fc1b750956c2932e41aa.tar.gz
src-test2-dcf1f8387612bdb3d0c2fc1b750956c2932e41aa.zip
Notes
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/Makefile.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/csu/Makefile.inc b/lib/csu/Makefile.inc
index e5f6bb7f5638..a58edf8d7e16 100644
--- a/lib/csu/Makefile.inc
+++ b/lib/csu/Makefile.inc
@@ -22,10 +22,11 @@ crtend.o: crtend.c
crtendS.o: crtend.c
crtbegin.o crtend.o crtbeginT.o:
- ${CC} ${CFLAGS} -I${.CURDIR} -c -o ${.TARGET} ${.ALLSRC}
+ ${CC} ${CFLAGS} -I${.CURDIR} -c -o ${.TARGET} ${.ALLSRC:N*.h:[1]}
crtbeginS.o crtendS.o:
- ${CC} ${CFLAGS} -I${.CURDIR} ${CFLAGS_CRTS} -c -o ${.TARGET} ${.ALLSRC}
+ ${CC} ${CFLAGS} -I${.CURDIR} ${CFLAGS_CRTS} -c -o ${.TARGET} \
+ ${.ALLSRC:N*.h:[1]}
.endif