Page MenuHomeFreeBSD

bmake: Only handle .POSIX: in the right place
AbandonedPublic

Authored by cperciva on Apr 18 2022, 9:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 24 2023, 10:53 AM
Unknown Object (File)
Sep 17 2023, 1:14 PM
Unknown Object (File)
Mar 22 2023, 6:25 PM
Unknown Object (File)
Mar 5 2023, 5:36 PM
Subscribers

Details

Reviewers
sjg
Summary

POSIX specifies that the .POSIX: target must be the first
non-comment line in a Makefile. The way we handle it, by including
posix.mk when we first see .POSIX:, will break if we handle it at
other places.

Keep track of whether we're at the start of the Makefile and ignore
.POSIX: if not.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 45215
Build 42103: arc lint + arc unit