diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-04-06 03:05:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-08 22:48:05 +0100 |
commit | 85decf26fe580acdf072baf561418bf73b7bfca4 (patch) | |
tree | a0af2b26c797d606d52398354da7c9b7ee6dc4e5 /meta/recipes-devtools | |
parent | f3408bcf9d2710b07f5825683931e28571de130c (diff) | |
download | openembedded-core-85decf26fe580acdf072baf561418bf73b7bfca4.tar.gz openembedded-core-85decf26fe580acdf072baf561418bf73b7bfca4.tar.bz2 openembedded-core-85decf26fe580acdf072baf561418bf73b7bfca4.zip |
mc: replace "perl -w" with "use warnings"
The shebang's max length is usually 128 as defined in
/usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
There would be errors when @PERL@ (hostools/perl) is longer than 128,
use '/usr/bin/env perl' can fix the problem, but '/usr/bin/env perl -w'
doesn't work:
/usr/bin/env: perl -w: No such file or directory
So replace "perl -w" with "use warnings" to make it work.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
0 files changed, 0 insertions, 0 deletions