Module Name:    src
Committed By:   joerg
Date:           Fri Oct  2 20:36:54 UTC 2015

Modified Files:
        src/sys/arch/sparc/stand/ofwboot: Makefile

Log Message:
Support per-target AFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/sparc/stand/ofwboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc/stand/ofwboot/Makefile
diff -u src/sys/arch/sparc/stand/ofwboot/Makefile:1.33 src/sys/arch/sparc/stand/ofwboot/Makefile:1.34
--- src/sys/arch/sparc/stand/ofwboot/Makefile:1.33	Sun Jan 11 22:59:25 2015
+++ src/sys/arch/sparc/stand/ofwboot/Makefile	Fri Oct  2 20:36:54 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.33 2015/01/11 22:59:25 martin Exp $
+#	$NetBSD: Makefile,v 1.34 2015/10/02 20:36:54 joerg Exp $
 
 CURDIR=	${.CURDIR}
 S=	${CURDIR}/../../../..
@@ -123,7 +123,7 @@ CEXTRAFLAGS?=		-D_LP64
 AFLAGS+=		-x assembler-with-cpp -D_LOCORE -D__ELF__ ${CEXTRAFLAGS}
 .endif
 
-NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<
+NORMAL_S=	${CC} ${AFLAGS} ${AFLAGS.${<:T}}  ${CPPFLAGS} -c $<
 srt0.o: srt0.s
 	${NORMAL_S}
 

Reply via email to