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
Unknown Object (File)
Sun, Dec 1, 2:14 AM
Unknown Object (File)
Sat, Nov 30, 2:58 PM
Unknown Object (File)
Nov 25 2024, 9:14 PM
Unknown Object (File)
Nov 25 2024, 8:51 AM
Unknown Object (File)
Nov 23 2024, 2:37 PM
Unknown Object (File)
Nov 23 2024, 11:36 AM
Unknown Object (File)
Nov 22 2024, 10:37 AM
Unknown Object (File)
Nov 22 2024, 7:43 AM
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