diff options
author | ru <ru@FreeBSD.org> | 2003-07-02 12:41:04 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-07-02 12:41:04 +0000 |
commit | dc7e39e87b0ff3e9db912e1c4ed2418c33301c49 (patch) | |
tree | 4cd3b529c91395a2102e557c41de7f504569b7c9 | |
parent | 074981f0b96c87ec662dc1d35b7f39f5da8690c0 (diff) | |
download | FreeBSD-src-dc7e39e87b0ff3e9db912e1c4ed2418c33301c49.zip FreeBSD-src-dc7e39e87b0ff3e9db912e1c4ed2418c33301c49.tar.gz |
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
-rw-r--r-- | share/mk/bsd.lib.mk | 11 |
1 files changed, 2 insertions, 9 deletions
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} |