Date: Thu, 10 Jun 2021 23:36:57 GMT From: Martin Matuska <mm@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 47ddbfae278b - main - zfs: unbreak build with clang 12 Message-ID: <202106102336.15ANav1V055261@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mm: URL: https://cgit.FreeBSD.org/src/commit/?id=47ddbfae278b617a01976db667b8f4b4c4155755 commit 47ddbfae278b617a01976db667b8f4b4c4155755 Author: Martin Matuska <mm@FreeBSD.org> AuthorDate: 2021-06-10 23:31:56 +0000 Commit: Martin Matuska <mm@FreeBSD.org> CommitDate: 2021-06-10 23:34:46 +0000 zfs: unbreak build with clang 12 Change -Wno-error-atomic-alignment to -Wno-error=atomic-alignment in the Makefile of libspl. Reported by: Ed Maste <emaste@FreeBSD.org> Fix by: Alexander Richardson <arichardson@FreeBSD.org> --- cddl/lib/libspl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cddl/lib/libspl/Makefile b/cddl/lib/libspl/Makefile index f565683fba4e..59e0a7c51834 100644 --- a/cddl/lib/libspl/Makefile +++ b/cddl/lib/libspl/Makefile @@ -41,6 +41,6 @@ CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h CFLAGS+= -DHAVE_ISSETUGID CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h -CFLAGS.atomic.c+= -Wno-error-atomic-alignment +CFLAGS.atomic.c+= -Wno-error=atomic-alignment .include <bsd.lib.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106102336.15ANav1V055261>