Page MenuHomeFreeBSD

Disable -Werror to fix build on versions older than 11.0.
ClosedPublic

Authored by jhb on Aug 2 2017, 11:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 20, 4:06 AM
Unknown Object (File)
Sun, Apr 5, 11:03 PM
Unknown Object (File)
Dec 4 2025, 1:26 AM
Unknown Object (File)
Dec 1 2025, 6:39 AM
Unknown Object (File)
Oct 7 2025, 10:04 PM
Unknown Object (File)
Oct 5 2025, 9:23 AM
Unknown Object (File)
Oct 1 2025, 9:52 PM
Unknown Object (File)
Oct 1 2025, 1:44 AM
Subscribers

Details

Reviewers
feld
Summary

The Makefiles in this port use CWARNFLAGS.clang to disable certain
warnings on clang. However, the bsd.*.mk files only support this
feature in 11.0 and later. Disable -Werror on older OS versions as
a workaround.

Test Plan
  • poudriere testport on 10.3, 11.0, 11.1 and 12.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 10824
Build 11216: arc lint + arc unit