summaryrefslogtreecommitdiffstats
path: root/lib/csu/sparc64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/sparc64/Makefile')
-rw-r--r--lib/csu/sparc64/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/csu/sparc64/Makefile b/lib/csu/sparc64/Makefile
index a2d6890..73c64c0 100644
--- a/lib/csu/sparc64/Makefile
+++ b/lib/csu/sparc64/Makefile
@@ -3,9 +3,10 @@
.PATH: ${.CURDIR}/../common
SRCS= crt1.c crtbegin.c crtend.c
-OBJS= crt1.o crtbegin.o crtend.o
+OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= gcrt1.o
SOBJS= crtbegin.So crtend.So
+CFLAGS+= -I${.CURDIR}/../common
NOMAN= true
NOPIC= true
NOPROFILE= true
OpenPOWER on IntegriCloud