Module Name:    src
Committed By:   mrg
Date:           Tue Feb 13 09:50:36 UTC 2018

Modified Files:
        src/sys/conf: Makefile.kern.inc

Log Message:
use -fno-delete-null-pointer-checks for kernels.


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/sys/conf/Makefile.kern.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.262 src/sys/conf/Makefile.kern.inc:1.263
--- src/sys/conf/Makefile.kern.inc:1.262	Mon Jan 22 17:38:46 2018
+++ src/sys/conf/Makefile.kern.inc	Tue Feb 13 09:50:35 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.kern.inc,v 1.262 2018/01/22 17:38:46 christos Exp $
+#	$NetBSD: Makefile.kern.inc,v 1.263 2018/02/13 09:50:35 mrg 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 @@ CWARNFLAGS.ah_regdomain.c= ${${ACTIVE_CC
 CWARNFLAGS.ioconf.c= ${${ACTIVE_CC} == "clang":? -Wno-unused-const-variable :}
 
 CFLAGS+=	-ffreestanding -fno-zero-initialized-in-bss
+CFLAGS+=	-fno-delete-null-pointer-checks
 CFLAGS+=	${DEBUG} ${COPTS}
 AFLAGS+=	-D_LOCORE -Wa,--fatal-warnings
 

Reply via email to