git: c43b10698c7c - main - devel/linux_libusb: disable date/time nonreproducible build warning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Nov 2022 18:57:11 UTC
The branch main has been updated by emaste (doc, src committer):
URL: https://cgit.FreeBSD.org/ports/commit/?id=c43b10698c7c6e2ee361632b571ac7fbf80feb84
commit c43b10698c7c6e2ee361632b571ac7fbf80feb84
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-11-25 19:22:54 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-11-30 18:56:31 +0000
devel/linux_libusb: disable date/time nonreproducible build warning
The base system build infrastructure will add -Wdate-time, to avoid
use of nonreproducible __DATE__ and __TIME__ in the base system.
This port makes use of a GCC that does not support -Wdate-time, so
opt out of the warning.
Reviewed by: hselasky
Approved by: jrm
PR: 267902 [exp-run]
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37506
---
devel/linux_libusb/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/devel/linux_libusb/Makefile b/devel/linux_libusb/Makefile
index e1b5f1408bc5..c8b6474bfefa 100644
--- a/devel/linux_libusb/Makefile
+++ b/devel/linux_libusb/Makefile
@@ -42,6 +42,7 @@ MAKE_ENV+= LDADD="-lrt"
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300134
MAKE_ARGS+= NO_WERROR=yes
.endif
+MAKE_ARGS+= NO_WDATE_TIME=yes
.if ${ARCH} == amd64
PLIST_FILES+= usr/lib/libusb.so.3 \