Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump Revert previous
details: https://anonhg.NetBSD.org/src/rev/a0e2a6f850be
branches: trunk
changeset: 970034:a0e2a6f850be
user: kamil <kamil%NetBSD.org@localhost>
date: Mon Mar 09 14:45:41 2020 +0000
description:
Revert previous
Requested by <riastradh>
diffstat:
sys/rump/Makefile.rump | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r 7e0a79efd0b4 -r a0e2a6f850be sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump Mon Mar 09 13:36:10 2020 +0000
+++ b/sys/rump/Makefile.rump Mon Mar 09 14:45:41 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rump,v 1.126 2020/03/09 00:03:00 kamil Exp $
+# $NetBSD: Makefile.rump,v 1.127 2020/03/09 14:45:41 kamil Exp $
#
.if !defined(_RUMP_MK)
@@ -22,9 +22,7 @@
# We are compiling the kernel code with no-delete-null-pointer-checks,
# and compiling without it, causes issues at least on sh3 by adding
# aborts after kern_assert on NULL pointer checks.
-# no-delete-null-pointer-checks is required in Clang/LLVM at least for
-# NULL + 0 operations that trigger LLVM UBSan and could be miscompiled.
-CFLAGS+= -fno-delete-null-pointer-checks
+CFLAGS+= ${${ACTIVE_CC} == "gcc":? -fno-delete-null-pointer-checks :}
# Define baseline cpu for mips ports, required for
# rumpcomp_sync_icache() hypercall.
Home |
Main Index |
Thread Index |
Old Index