Files
poky/meta/recipes-devtools
Hongxu Jia b4e6f6345b perl: fix spaces in brackets while using CC version
Here is the way to reproduce the issue:
...
root@localhost:~# perl -e "use Errno qw(ENOENT);"
"ENOENT" is not exported by the Errno module
Can't continue after import errors at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
...

For some distros, there was extra spaces in the
brackets while using CC version:

For Windriver:
$CC --version
x86_64-wrs-linux-gcc (Wind River Linux 5.2.0-8.0-intel-x86-64) 5.2.0

For Ubuntu:
$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4

So we replace the contects between brackets with semicolon
and then use space to split.

[YOCTO #8367]

(From OE-Core rev: 115bf201a775410121d2f9769a4a5bb909cac5fd)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-25 07:50:31 +00:00
..
2015-08-11 09:28:51 -07:00
2015-08-11 09:28:48 -07:00
2015-08-30 12:35:49 +01:00
2015-09-23 09:52:50 +01:00
2015-08-11 09:28:50 -07:00
2014-03-02 17:25:28 +00:00
2015-11-16 11:39:39 +00:00
2015-09-01 11:44:03 +01:00
2015-11-16 11:39:37 +00:00
2015-11-16 14:59:18 +00:00
2015-08-10 12:40:20 -07:00
2015-09-23 09:53:08 +01:00
2015-09-12 23:01:53 +01:00
2014-12-23 10:18:20 +00:00
2015-05-30 22:26:12 +01:00
2014-08-28 15:12:42 +01:00
2015-07-31 10:32:44 +01:00
2015-09-24 17:54:23 +01:00
2015-11-16 11:39:37 +00:00
2015-11-16 11:39:33 +00:00
2015-08-16 22:40:55 +01:00
2015-09-04 16:23:55 +01:00
2015-11-16 11:39:30 +00:00
2015-09-12 22:48:26 +01:00
2015-09-03 12:43:14 +01:00
2015-06-08 17:34:03 +01:00
2015-04-21 07:20:25 +01:00
2015-05-20 21:41:08 +01:00
2015-06-11 23:59:15 +01:00