diff options
author | ru <ru@FreeBSD.org> | 2003-06-30 20:02:46 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-06-30 20:02:46 +0000 |
commit | 7e2e5a882dfcc353945bed75559a58ab8eca2da7 (patch) | |
tree | 4bb2371770299f9b355f4ccd4a154c0f555f5a50 /share/mk | |
parent | d3f9a6af5643808a62c4b0c1909be82ee53c5d2f (diff) | |
download | FreeBSD-src-7e2e5a882dfcc353945bed75559a58ab8eca2da7.zip FreeBSD-src-7e2e5a882dfcc353945bed75559a58ab8eca2da7.tar.gz |
Propagate the ${AINC} knob (assembler include) to sys.mk,
and remove the .S.o transformation rule from bsd.lib.mk.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 3 | ||||
-rw-r--r-- | share/mk/sys.mk | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 9f4eac1..baf8462 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -82,9 +82,6 @@ PICFLAG=-fpic ${CC} -x assembler-with-cpp ${PICFLAG} -DPIC ${CFLAGS} \ ${AINC} -c ${.IMPSRC} -o ${.TARGET} -.S.o: - ${CC} ${CFLAGS} ${AINC} -c ${.IMPSRC} -o ${.TARGET} - .S.po: ${CC} -DPROF ${CFLAGS} ${AINC} -c ${.IMPSRC} -o ${.TARGET} diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 219ab7a..c2b4c74 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -206,7 +206,7 @@ MACHINE_ARCH ?= i386 ${FC} ${RFLAGS} ${EFLAGS} ${FFLAGS} -c ${.IMPSRC} .S.o: - ${CC} ${CFLAGS} -c ${.IMPSRC} + ${CC} ${CFLAGS} ${AINC} -c ${.IMPSRC} .s.o .asm.o: ${AS} ${AFLAGS} -o ${.TARGET} ${.IMPSRC} |