[oe-commits] Jackie Huang : perl: add explicit configs for Time-HiRes
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 1 16:21:31 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 750b2a89af404dc7b275aa40fb693b07b9b297fe
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=750b2a89af404dc7b275aa40fb693b07b9b297fe
Author: Jackie Huang <jackie.huang at windriver.com>
Date: Mon Sep 1 03:04:44 2014 -0400
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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/perl/perl-5.20.0/config.sh | 7 +++++++
1 file changed, 7 insertions(+)
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 2532c8d..1ac1355 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'
More information about the Openembedded-commits
mailing list