Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Reorder flag order to not depend on -Wextra being a...
details: https://anonhg.NetBSD.org/src/rev/18078be2fe2b
branches: trunk
changeset: 765244:18078be2fe2b
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 23 13:55:55 2011 +0000
description:
Reorder flag order to not depend on -Wextra being applied before
-Wno-sign-compare
diffstat:
sys/conf/Makefile.kern.inc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 1d2963ac4d16 -r 18078be2fe2b sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Mon May 23 13:53:59 2011 +0000
+++ b/sys/conf/Makefile.kern.inc Mon May 23 13:55:55 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.135 2011/05/22 20:49:46 joerg Exp $
+# $NetBSD: Makefile.kern.inc,v 1.136 2011/05/23 13:55:55 joerg Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -71,9 +71,6 @@
CWARNFLAGS+= -Wswitch -Wshadow
CWARNFLAGS+= -Wcast-qual -Wwrite-strings
CWARNFLAGS+= -Wno-unreachable-code
-# Add -Wno-sign-compare. -Wsign-compare is included in -Wall as of GCC 3.3,
-# but our sources aren't up for it yet.
-CWARNFLAGS+= -Wno-sign-compare
. if (defined(HAVE_GCC) && ${HAVE_GCC} > 3) || defined(HAVE_PCC)
CWARNFLAGS+= -Wno-pointer-sign -Wno-attributes
. if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
@@ -81,6 +78,9 @@
CWARNFLAGS+= -Wextra -Wno-unused-parameter
. endif
. endif
+# Add -Wno-sign-compare. -Wsign-compare is included in -Wall as of GCC 3.3,
+# but our sources aren't up for it yet.
+CWARNFLAGS+= -Wno-sign-compare
.endif
CFLAGS+= -ffreestanding -fno-zero-initialized-in-bss
Home |
Main Index |
Thread Index |
Old Index