Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Allow individual lex and yacc sources to override/e...
details: https://anonhg.NetBSD.org/src/rev/3d6879710ebd
branches: trunk
changeset: 966124:3d6879710ebd
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 15 15:05:00 2019 +0000
description:
Allow individual lex and yacc sources to override/extend LFLAGS and YFLAGS
respectively.
diffstat:
share/mk/bsd.sys.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4c2309b06121 -r 3d6879710ebd share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Tue Oct 15 13:59:57 2019 +0000
+++ b/share/mk/bsd.sys.mk Tue Oct 15 15:05:00 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.293 2019/10/05 18:37:39 uwe Exp $
+# $NetBSD: bsd.sys.mk,v 1.294 2019/10/15 15:05:00 christos Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -333,7 +333,7 @@
# Lex
LFLAGS+= ${LPREFIX.${.IMPSRC:T}:D-P${LPREFIX.${.IMPSRC:T}}}
-LFLAGS+= ${LPREFIX:D-P${LPREFIX}}
+LFLAGS+= ${LPREFIX:D-P${LPREFIX}} ${LFLAGS.${.IMPSRC:T}}
.l.c:
${_MKTARGET_LEX}
@@ -341,7 +341,7 @@
# Yacc
YFLAGS+= ${YPREFIX.${.IMPSRC:T}:D-p${YPREFIX.${.IMPSRC:T}}} ${YHEADER.${.IMPSRC:T}:D-d}
-YFLAGS+= ${YPREFIX:D-p${YPREFIX}} ${YHEADER:D-d}
+YFLAGS+= ${YPREFIX:D-p${YPREFIX}} ${YHEADER:D-d} ${YFLAGS.${.IMPSRC:T}}
.y.c:
${_MKTARGET_YACC}
Home |
Main Index |
Thread Index |
Old Index