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
This commit is contained in:
Ed Maste 2022-11-25 14:22:54 -05:00
parent a75c82396e
commit c43b10698c

View file

@ -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 \