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
F163119179: D37506.id113522.diff
Mon, Jul 20, 5:59 AM
Unknown Object (File)
Sat, Jul 18, 4:37 PM
Unknown Object (File)
Mon, Jul 13, 5:39 PM
Unknown Object (File)
Sat, Jul 4, 6:37 AM
Unknown Object (File)
Fri, Jul 3, 11:02 AM
Unknown Object (File)
Jun 20 2026, 6:20 AM
Unknown Object (File)
Jun 19 2026, 3:44 PM
Unknown Object (File)
Jun 19 2026, 2:29 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