aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2022-11-25 19:22:54 +0000
committerEd Maste <emaste@FreeBSD.org>2022-11-30 18:56:31 +0000
commitc43b10698c7c6e2ee361632b571ac7fbf80feb84 (patch)
tree0f422ed7258783894b88533cbd779e1711265c85
parenta75c82396ed2fcbda891f7e501acf3702eb41be9 (diff)
downloadports-c43b10698c7c6e2ee361632b571ac7fbf80feb84.tar.gz
ports-c43b10698c7c6e2ee361632b571ac7fbf80feb84.zip
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
-rw-r--r--devel/linux_libusb/Makefile1
1 files changed, 1 insertions, 0 deletions
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 \