summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/060sp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/m68k/060sp/Makefile')
-rw-r--r--sys/arch/m68k/060sp/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/m68k/060sp/Makefile b/sys/arch/m68k/060sp/Makefile
index 1d650401c5f..73852dd6739 100644
--- a/sys/arch/m68k/060sp/Makefile
+++ b/sys/arch/m68k/060sp/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2007/10/18 18:08:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2013/02/02 13:32:05 miod Exp $
# $NetBSD: Makefile,v 1.3 1996/12/31 22:44:13 veego Exp $
#
.if ${MACHINE_ARCH} == "m68k"
@@ -13,7 +13,8 @@ LD= ld
sh ${.CURDIR}/asm2gas ${.IMPSRC} >${.TARGET}
060sp.o: netbsd.S inetbsd.S fnetbsd.S isp.S fpsp.S copyright.S
- $(AS) -I${.CURDIR} -o ${.TARGET} ${.CURDIR}/netbsd.S
+ $(CC) ${AFLAGS} -m68060 ${CPPFLAGS} -I${.CURDIR} -I. \
+ -c -o ${.TARGET} ${.CURDIR}/netbsd.S
clean cleandir:
rm -f 060sp.o isp.S fpsp.S