Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Enable -fno-common for GCC compiled kernels
details: https://anonhg.NetBSD.org/src/rev/b31b33a893b8
branches: trunk
changeset: 780487:b31b33a893b8
user: matt <matt%NetBSD.org@localhost>
date: Fri Jul 27 05:40:51 2012 +0000
description:
Enable -fno-common for GCC compiled kernels
diffstat:
sys/conf/Makefile.kern.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 7ecbc27aee38 -r b31b33a893b8 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Fri Jul 27 05:38:21 2012 +0000
+++ b/sys/conf/Makefile.kern.inc Fri Jul 27 05:40:51 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.156 2012/03/25 09:15:20 martin Exp $
+# $NetBSD: Makefile.kern.inc,v 1.157 2012/07/27 05:40:51 matt Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -98,6 +98,7 @@
# XXX
.if defined(HAVE_GCC)
CFLAGS+= -fno-strict-aliasing
+CFLAGS+= -fno-common
.endif
.if ${USE_SSP:Uno} == "yes"
Home |
Main Index |
Thread Index |
Old Index