Date: Thu, 24 Sep 2020 07:10:35 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r366104 - head/sys/modules/mrsas Message-ID: <202009240710.08O7AZYt084498@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009240710.08O7AZYt084498>