summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2014-09-01 03:04:44 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-01 17:15:30 +0100
commit750b2a89af404dc7b275aa40fb693b07b9b297fe (patch)
tree7b1d11fc9109b33659a4da1fbba5aeb8847a7d55 /meta/recipes-devtools/perl
parentf3e8914ea675217b3c86806522407ea19963d14f (diff)
downloadopenembedded-core-750b2a89af404dc7b275aa40fb693b07b9b297fe.tar.gz
openembedded-core-750b2a89af404dc7b275aa40fb693b07b9b297fe.tar.bz2
openembedded-core-750b2a89af404dc7b275aa40fb693b07b9b297fe.zip
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. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl-5.20.0/config.sh7
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'
usensgetexecutablepath='undef'
st_ino_sign='1'
st_ino_size='4'
+
+# for Time-HiRes
+d_clock_nanosleep='define'
+d_clock_gettime='define'
+d_clock_getres='define'
+d_clock='define'
+d_nanosleep='define'