Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/conf use -fno-delete-null-pointer-checks for kernels.



details:   https://anonhg.NetBSD.org/src/rev/4d31d8073697
branches:  trunk
changeset: 829807:4d31d8073697
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Feb 13 09:50:35 2018 +0000

description:
use -fno-delete-null-pointer-checks for kernels.

diffstat:

 sys/conf/Makefile.kern.inc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ae37251568a2 -r 4d31d8073697 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Tue Feb 13 09:26:17 2018 +0000
+++ b/sys/conf/Makefile.kern.inc        Tue Feb 13 09:50:35 2018 +0000
@@ -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.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
 



Home | Main Index | Thread Index | Old Index