Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk .c.lo: support per-target COPTS, CPPFLAGS, CPUFLAGS



details:   https://anonhg.NetBSD.org/src/rev/929d8e0d6a10
branches:  trunk
changeset: 555406:929d8e0d6a10
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Nov 16 16:10:50 2003 +0000

description:
.c.lo: support per-target COPTS, CPPFLAGS, CPUFLAGS

diffstat:

 share/mk/bsd.sys.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2471a161da07 -r 929d8e0d6a10 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Sun Nov 16 15:10:46 2003 +0000
+++ b/share/mk/bsd.sys.mk       Sun Nov 16 16:10:50 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.109 2003/11/14 05:22:02 matt Exp $
+#      $NetBSD: bsd.sys.mk,v 1.110 2003/11/16 16:10:50 lukem Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -165,7 +165,7 @@
 # object files anything but *.o
 .c.lo:
        ${_MKTARGET_COMPILE}
-       ${HOST_COMPILE.c} -o ${.TARGET}.o ${.IMPSRC}
+       ${HOST_COMPILE.c} -o ${.TARGET}.o ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${.IMPSRC}
        mv ${.TARGET}.o ${.TARGET}
 
 # Assembly



Home | Main Index | Thread Index | Old Index