Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): add target-specific COPTS when generat...



details:   https://anonhg.NetBSD.org/src/rev/85960c68d1fc
branches:  trunk
changeset: 1015426:85960c68d1fc
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Oct 23 15:44:38 2020 +0000

description:
make(1): add target-specific COPTS when generating cpre or casm

diffstat:

 usr.bin/make/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r 5156eaefc77c -r 85960c68d1fc usr.bin/make/Makefile
--- a/usr.bin/make/Makefile     Fri Oct 23 15:19:51 2020 +0000
+++ b/usr.bin/make/Makefile     Fri Oct 23 15:44:38 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.104 2020/10/18 19:11:35 rillig Exp $
+#      $NetBSD: Makefile,v 1.105 2020/10/23 15:44:38 rillig Exp $
 #      @(#)Makefile    5.2 (Berkeley) 12/28/90
 
 PROG=  make
@@ -189,6 +189,6 @@
 # Just out of curiosity, during development.
 .SUFFIXES: .cpre .casm
 .c.cpre:
-       ${COMPILE.c:S,^-c$,-E,} ${.IMPSRC} -o ${.TARGET}
+       ${COMPILE.c:S,^-c$,-E,} ${COPTS.${.IMPSRC}} ${.IMPSRC} -o ${.TARGET}
 .c.casm:
-       ${COMPILE.c:S,^-c$,-S,} ${.IMPSRC} -o ${.TARGET}
+       ${COMPILE.c:S,^-c$,-S,} ${COPTS.${.IMPSRC}} ${.IMPSRC} -o ${.TARGET}



Home | Main Index | Thread Index | Old Index