git: baf8cbcd97a6 - main - Revert "Enable -Wdate-time warning"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Feb 2022 00:16:46 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=baf8cbcd97a689375ce2551fe7fa99f23f8a883b commit baf8cbcd97a689375ce2551fe7fa99f23f8a883b Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-02-21 00:01:40 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-02-21 00:16:40 +0000 Revert "Enable -Wdate-time warning" This reverts commit 489d7a8528cae1adb7192c2563028e2d028c354b. The flag leaks into some port builds, causing them to fail. I will recommit it with some sort of opt-out later on. Reported by: mi --- share/mk/bsd.sys.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index cf48411d3d4d..f09987ecd962 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -75,7 +75,6 @@ CWARNFLAGS.clang+= -Wthread-safety CWARNFLAGS+= -Wno-uninitialized .endif # WARNS >=2 && WARNS <= 4 CWARNFLAGS+= -Wno-pointer-sign -CWARNFLAGS+= -Wdate-time # Clang has more warnings enabled by default, and when using -Wall, so if WARNS # is set to low values, these have to be disabled explicitly. .if ${WARNS} <= 6