Page MenuHomeFreeBSD

devel/linux_libusb: disable date/time nonreproducible build warning
ClosedPublic

Authored by emaste on Nov 25 2022, 7:25 PM.
Tags
None
Referenced Files
F161400813: D37506.diff
Fri, Jul 3, 11:02 AM
Unknown Object (File)
Sat, Jun 20, 6:20 AM
Unknown Object (File)
Fri, Jun 19, 3:44 PM
Unknown Object (File)
Fri, Jun 19, 2:29 PM
Unknown Object (File)
Thu, Jun 18, 1:55 PM
Unknown Object (File)
May 28 2026, 11:38 AM
Unknown Object (File)
May 4 2026, 4:36 PM
Unknown Object (File)
Apr 29 2026, 10:23 PM
Subscribers
None

Details

Summary

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.

PR: 267902 [exp-run]
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
devel/linux_libusb/Makefile
45

FWIW existing similar cases in the ports tree make use of both MAKE_ENV and MAKE_ARGS. Either works, but perhaps this should be MAKE_ARGS here for consistency with the NO_WERROR setting above.

I'm good with whatever you find works this time.

This revision is now accepted and ready to land.Nov 26 2022, 8:30 AM

Use MAKE_ARGS as discussed

This revision now requires review to proceed.Nov 30 2022, 6:22 PM
This revision is now accepted and ready to land.Nov 30 2022, 6:28 PM