This fixes the build on 15.0 where the default CSTD of gnu17 is not
supported by the old version of gcc used for CentOS 7.
PR: 284039
Differential D48973
devel/linux_libusb: Use CSTD of gnu11 for the c7 flavor jhb on Feb 12 2025, 10:37 PM. Authored by Tags None Referenced Files
Subscribers
Details This fixes the build on 15.0 where the default CSTD of gnu17 is not PR: 284039
Diff Detail
Event TimelineComment Actions I'm obscured how this works. What exactly reacts to the CSTD env var? I see nothing using it in Ports framework, nor in devel/linux_libusb sources. Comment Actions This is building FreeBSD source code from the base system but cross-compiled for Linux. It is using bsd.lib.mk from base and that is what uses CSTD. I recently bumped CSTD from gnu99 to gnu17 in main which broke this port since the version of GCC that ships with CentOS 7 is too old to understand C17. |