Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Discard -fstack-usage for vax, for which GCC does n...
details: https://anonhg.NetBSD.org/src/rev/946fc0954d91
branches: trunk
changeset: 934759:946fc0954d91
user: rin <rin%NetBSD.org@localhost>
date: Thu Jun 18 11:50:44 2020 +0000
description:
Discard -fstack-usage for vax, for which GCC does not support that option
at the moment.
diffstat:
sys/conf/Makefile.kern.inc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 52e8d8c18a5c -r 946fc0954d91 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Thu Jun 18 09:00:11 2020 +0000
+++ b/sys/conf/Makefile.kern.inc Thu Jun 18 11:50:44 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.271 2020/06/17 02:40:43 simonb Exp $
+# $NetBSD: Makefile.kern.inc,v 1.272 2020/06/18 11:50:44 rin Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -106,7 +106,10 @@
AFLAGS+= -D_LOCORE -Wa,--fatal-warnings
# example usage to find largest stack users in kernel compile directory:
# find . -name \*.su | xargs awk '{ printf "%6d %s\n", $2, $1 }' | sort -n
+.if ${MACHINE} != "vax"
+# GCC/vax 8.4 does not support -fstack-usage.
CFLAGS+= -fstack-usage
+.endif
# XXX
.if defined(HAVE_GCC) || defined(HAVE_LLVM)
Home |
Main Index |
Thread Index |
Old Index