Details
Details
- Reviewers
brooks adrian - Group Reviewers
build - Commits
- rG24d5194306b5: build: Emit a warning for build targets run as root
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
We do this as root at work, so this will just add noise (since nanobsd doesn't have privsep)
| Makefile.inc1 | ||
|---|---|---|
| 378–379 | Is this really the best spot to do this? This will emit a bunch more noise for each top-level argument executed and does a bunch more forks than necessary. | |
| 380 | The Warning: prefix is superfluous: % cat f.mk .warning "Warning: foo" % bmake -f f.mk bmake: /usr/src/tests/sys/fs/fusefs/f.mk:1: warning: "Warning: foo" bmake: no target to make. bmake: stopped in /usr/src/tests/sys/fs/fusefs | |