svn commit: r366104 - head/sys/modules/mrsas
Warner Losh
imp at FreeBSD.org
Thu Sep 24 07:10:35 UTC 2020
Author: imp
Date: Thu Sep 24 07:10:34 2020
New Revision: 366104
URL: https://svnweb.freebsd.org/changeset/base/366104
Log:
Don't define _STANDALONE when building kernel modules.
_STANDALONE is only for the bootloader, not kernel modules. Remove it
from the build. This was harmless before, but sys/malloc.h now does
different things for the standalone environment, triggering the issue.
Modified:
head/sys/modules/mrsas/Makefile
Modified: head/sys/modules/mrsas/Makefile
==============================================================================
--- head/sys/modules/mrsas/Makefile Thu Sep 24 07:07:54 2020 (r366103)
+++ head/sys/modules/mrsas/Makefile Thu Sep 24 07:10:34 2020 (r366104)
@@ -17,7 +17,7 @@ CFLAGS+= -fgnu89-inline
TARGET_ARCH = ${MACHINE_ARCH}
.if ${TARGET_ARCH} == "amd64"
-CFLAGS+= -DCOMPAT_FREEBSD32 -D_STANDALONE
+CFLAGS+= -DCOMPAT_FREEBSD32
.endif
clean_cscope:
More information about the svn-src-all
mailing list