svn commit: r302090 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Wed Jun 22 20:31:51 UTC 2016


Author: bdrewery
Date: Wed Jun 22 20:31:49 2016
New Revision: 302090
URL: https://svnweb.freebsd.org/changeset/base/302090

Log:
  Add AFLAGS.IMPSRC and document A[C]FLAGS
  
  Approved by:	re (gjb)
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.README
  head/share/mk/bsd.sys.mk

Modified: head/share/mk/bsd.README
==============================================================================
--- head/share/mk/bsd.README	Wed Jun 22 20:15:37 2016	(r302089)
+++ head/share/mk/bsd.README	Wed Jun 22 20:31:49 2016	(r302090)
@@ -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.

Modified: head/share/mk/bsd.sys.mk
==============================================================================
--- head/share/mk/bsd.sys.mk	Wed Jun 22 20:15:37 2016	(r302089)
+++ head/share/mk/bsd.sys.mk	Wed Jun 22 20:31:49 2016	(r302090)
@@ -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}}


More information about the svn-src-all mailing list