From dc7e39e87b0ff3e9db912e1c4ed2418c33301c49 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 2 Jul 2003 12:41:04 +0000 Subject: Revert to using as(1) to compile plain assembler source files. All .s files that need cpp(1) processing (see gcc(1) manpage's DESCRIPTION section) have been repo-copied to .S files. This is mostly to bring bsd.lib.mk in agreement with sys.mk. Desired by: obrien --- share/mk/bsd.lib.mk | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'share') diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 72b5f2d..c3f242e 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -70,15 +70,8 @@ PICFLAG=-fpic .m.So: ${OBJC} ${PICFLAG} -DPIC ${OBJCFLAGS} -c ${.IMPSRC} -o ${.TARGET} -.s.o .asm.o: - ${CC} -x assembler-with-cpp ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} - -.s.po .asm.po: - ${CC} -x assembler-with-cpp -DPROF ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} - -.s.So .asm.So: - ${CC} -x assembler-with-cpp ${PICFLAG} -DPIC ${CFLAGS} \ - -c ${.IMPSRC} -o ${.TARGET} +.s.po .asm.po .s.So .asm.So: + ${AS} ${AFLAGS} -o ${.TARGET} ${.IMPSRC} .S.po: ${CC} -DPROF ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} -- cgit v1.1