summaryrefslogtreecommitdiffstats
path: root/lib/csu/i386-elf
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/i386-elf')
-rw-r--r--lib/csu/i386-elf/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile
index 2082a70..cb1bc63 100644
--- a/lib/csu/i386-elf/Makefile
+++ b/lib/csu/i386-elf/Makefile
@@ -1,6 +1,6 @@
-#
# $FreeBSD$
-#
+
+.PATH: ${.CURDIR}/../common
SRCS= crt1.c crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
@@ -13,11 +13,10 @@ NOPIC= true
NOPROFILE= true
INTERNALLIB= true
-.PATH: ${.CURDIR}/../common
all: ${OBJS} ${SOBJS}
-gcrt1.o: crt1.c
+gcrt1.o: crt1.c
${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c
realinstall:
OpenPOWER on IntegriCloud