Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/conf/Makefile.kern.inc,v rcsdiff: /ftp/cvs/cvsroot/src/sys/conf/Makefile.kern.inc,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.136 retrieving revision 1.137 diff -u -p -r1.136 -r1.137 --- src/sys/conf/Makefile.kern.inc 2011/05/23 13:55:55 1.136 +++ src/sys/conf/Makefile.kern.inc 2011/05/26 12:56:30 1.137 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.136 2011/05/23 13:55:55 joerg Exp $ +# $NetBSD: Makefile.kern.inc,v 1.137 2011/05/26 12:56:30 joerg Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -83,6 +83,9 @@ CWARNFLAGS+= -Wextra -Wno-unused-paramet CWARNFLAGS+= -Wno-sign-compare .endif +CWARNFLAGS.clang+= -Wno-unknown-pragmas -Wno-conversion \ + -Wno-self-assign -Wno-array-bounds + CFLAGS+= -ffreestanding -fno-zero-initialized-in-bss CFLAGS+= ${DEBUG} ${COPTS} AFLAGS+= -D_LOCORE -Wa,--fatal-warnings