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
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 11250 Build 11626: arc lint + arc unit
Event Timeline
usr.sbin/crunch/crunchgen/crunchgen.c | ||
---|---|---|
1108 | 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) |