buildworld; installworld /rescue/rescue (usage) /rescue/rescue foo (usage) /rescue/rescue ls
Details
Details
- Reviewers
emaste - Commits
- rS323276: crunchgen: quiet -Wmissing-prototypes
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.sbin/crunch/crunchgen/crunchgen.c | ||
---|---|---|
1108 ↗ | (On Diff #32333) | Whoops, that extra "\n" led to the following makefile template, from strings $(which crunchgen): %s_stub.c: echo "extern int main(int argc, char **argv, char **envp); int _crunched_%s_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >%s_stub.c %s.lo: %s_stub.o $(%s_OBJPATHS) I didn't notice earlier, apparently the build is using the installed crunchgen (rather than the one being built)? New version replaces the line feed with a space and gives this from %s_stub.c: echo "extern int main(int argc, char **argv, char **envp); int _crunched_%s_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >%s_stub.c %s.lo: %s_stub.o $(%s_OBJPATHS) |