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>
This commit is contained in:
Jackie Huang 2014-09-01 03:04:44 -04:00 committed by Richard Purdie
parent 8a0a27d0a7
commit 954e45bc74
1 changed files with 7 additions and 0 deletions

View File

@ -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'