Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Drop -fstack-usage* from CFLAGS passed genassym.
details: https://anonhg.NetBSD.org/src/rev/4e3c2f7339b5
branches: trunk
changeset: 1011747:4e3c2f7339b5
user: uwe <uwe%NetBSD.org@localhost>
date: Wed Jul 08 19:39:22 2020 +0000
description:
Drop -fstack-usage* from CFLAGS passed genassym.
We don't want it to create a "-.su" file.
diffstat:
sys/conf/assym.mk | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r e6631de0dd23 -r 4e3c2f7339b5 sys/conf/assym.mk
--- a/sys/conf/assym.mk Wed Jul 08 15:07:13 2020 +0000
+++ b/sys/conf/assym.mk Wed Jul 08 19:39:22 2020 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: assym.mk,v 1.5 2015/09/10 13:11:39 uebayasi Exp $
+# $NetBSD: assym.mk,v 1.6 2020/07/08 19:39:22 uwe Exp $
assym.h: ${GENASSYM_CONF} ${GENASSYM_EXTRAS} $S/conf/genassym.cf
${_MKTARGET_CREATE}
cat ${GENASSYM_CONF} ${GENASSYM_EXTRAS} $S/conf/genassym.cf | \
- ${GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${PROF} \
+ ${GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*:N-fstack-usage*} \
+ ${CPPFLAGS} ${PROF} \
${GENASSYM_CPPFLAGS} > assym.h.tmp && \
mv -f assym.h.tmp assym.h
@@ -19,7 +20,7 @@
${_MKTARGET_CREATE}
cat ${GENASSYM_CONF} ${GENASSYM_EXTRAS} | \
${GENASSYM} -- ${MKDEP} -f assym.dep -- \
- ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${GENASSYM_CPPFLAGS}
+ ${CFLAGS:N-Wa,*:N-fstack-usage*} ${CPPFLAGS} ${GENASSYM_CPPFLAGS}
${TOOL_SED} -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >${.TARGET}
rm -f assym.dep
@@ -29,7 +30,8 @@
.SUFFIXES: .genassym .assym.h
.genassym.assym.h:
${_MKTARGET_CREATE}
- ${GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${PROF} \
+ ${GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*:N-fstack-usage*} \
+ ${CPPFLAGS} ${PROF} \
${GENASSYM_CPPFLAGS} < $< > $@
mv -f $@.tmp $@
.endif # ___USE_SUFFIX_RULES___
Home |
Main Index |
Thread Index |
Old Index