diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-04-06 03:05:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-08 22:48:05 +0100 |
commit | f3408bcf9d2710b07f5825683931e28571de130c (patch) | |
tree | f8e66a9bfcbddec6bb769d4a82ab8d50aa429e12 /oe-init-build-env | |
parent | 04c053d42ab05f77b2d1ca93a0fabae44073d57e (diff) | |
download | openembedded-core-f3408bcf9d2710b07f5825683931e28571de130c.tar.gz openembedded-core-f3408bcf9d2710b07f5825683931e28571de130c.tar.bz2 openembedded-core-f3408bcf9d2710b07f5825683931e28571de130c.zip |
groff: 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 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions