Add AFLAGS.IMPSRC and document A[C]FLAGS

Approved by:	re (gjb)
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-06-22 20:31:49 +00:00
parent 95e2409a33
commit b38eb9eac8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302090
2 changed files with 8 additions and 0 deletions

View File

@ -120,6 +120,8 @@ object.
The following variables are common:
AFLAGS.${SRC}
Flags dependent on source file name.
ACFLAGS.${SRC}
Flags dependent on source file name.
CFLAGS.${SRC}
@ -255,6 +257,11 @@ It has seven targets:
It sets/uses the following variables:
AFLAGS Flags to the assembler when assembling .s files.
ACFLAGS Flags to the compiler when preprocessing and
assembling .S files.
BINGRP Binary group.
BINOWN Binary owner.

View File

@ -174,6 +174,7 @@ CFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
CFLAGS+= ${CFLAGS.${COMPILER_TYPE}}
CXXFLAGS+= ${CXXFLAGS.${COMPILER_TYPE}}
AFLAGS+= ${AFLAGS.${.IMPSRC:T}}
ACFLAGS+= ${ACFLAGS.${.IMPSRC:T}}
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
CXXFLAGS+= ${CXXFLAGS.${.IMPSRC:T}}