Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Prevent mkdep from parsing compiler flags like -pipe.



details:   https://anonhg.NetBSD.org/src/rev/bb16239fb1ac
branches:  trunk
changeset: 555218:bb16239fb1ac
user:      enami <enami%NetBSD.org@localhost>
date:      Tue Nov 11 21:26:53 2003 +0000

description:
Prevent mkdep from parsing compiler flags like -pipe.

diffstat:

 sys/conf/Makefile.kern.inc |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 13ab9b710374 -r bb16239fb1ac sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Tue Nov 11 20:33:46 2003 +0000
+++ b/sys/conf/Makefile.kern.inc        Tue Nov 11 21:26:53 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.42 2003/11/06 08:23:22 jdolecek Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.43 2003/11/11 21:26:53 enami Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -263,11 +263,12 @@
 MKDEP_AFLAGS?= ${AFLAGS}
 MKDEP_CFLAGS?= ${CFLAGS}
 .depend: ${SRCS} assym.h config_time.h
-       ${MKDEP} ${MKDEP_AFLAGS} ${CPPFLAGS} ${MD_SFILES} ${SFILES}
-       ${MKDEP} -a ${MKDEP_CFLAGS} ${CPPFLAGS} ${MD_CFILES} ${MI_CFILES} \
+       ${MKDEP} -- ${MKDEP_AFLAGS} ${CPPFLAGS} ${MD_SFILES} ${SFILES}
+       ${MKDEP} -a -- ${MKDEP_CFLAGS} ${CPPFLAGS} ${MD_CFILES} ${MI_CFILES} \
            ${CFILES}
        cat ${GENASSYM} ${GENASSYM_EXTRAS} | \
-           sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} ${CPPFLAGS}
+           sh $S/kern/genassym.sh ${MKDEP} -f assym.dep -- \
+           ${CFLAGS} ${CPPFLAGS}
        @sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
        @rm -f assym.dep
 .endif



Home | Main Index | Thread Index | Old Index