diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2014-09-01 03:04:44 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 17:17:11 +0100 |
commit | 954e45bc7464573ed4776dbcd72eb76d4fca0b3d (patch) | |
tree | 4473fdbc28877af7e766c392179120dd056dea96 | |
parent | 8a0a27d0a722b60eb148b224beb16f48df625625 (diff) | |
download | poky-954e45bc7464573ed4776dbcd72eb76d4fca0b3d.tar.gz |
perl: add explicit configs for Time-HiRes
The compilation of Time-HiRes tries to compile and run the testing
program but definitely fails since we are cross compiling:
Looking for clock_gettime()... ./tmp26733: ./tmp26733: cannot execute binary file
Looking for clock_getres()... ./tmp26733: ./tmp26733: cannot execute binary file
so add explicit configs to avoid the auto detecting.
(From OE-Core rev: 750b2a89af404dc7b275aa40fb693b07b9b297fe)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.20.0/config.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.20.0/config.sh b/meta/recipes-devtools/perl/perl-5.20.0/config.sh index 2532c8d413..1ac1355829 100644 --- a/meta/recipes-devtools/perl/perl-5.20.0/config.sh +++ b/meta/recipes-devtools/perl/perl-5.20.0/config.sh | |||
@@ -1104,3 +1104,10 @@ usekernprocpathname='undef' | |||
1104 | usensgetexecutablepath='undef' | 1104 | usensgetexecutablepath='undef' |
1105 | st_ino_sign='1' | 1105 | st_ino_sign='1' |
1106 | st_ino_size='4' | 1106 | st_ino_size='4' |
1107 | |||
1108 | # for Time-HiRes | ||
1109 | d_clock_nanosleep='define' | ||
1110 | d_clock_gettime='define' | ||
1111 | d_clock_getres='define' | ||
1112 | d_clock='define' | ||
1113 | d_nanosleep='define' | ||