diff options
author | Ross Burton <ross.burton@intel.com> | 2018-09-05 11:48:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-10 12:13:06 +0100 |
commit | dbb2d923de2ab76e7b93dea1f0a5d6119b1df6a8 (patch) | |
tree | 8ab709ebc4e27ee18014935231f3b85ded5f3459 /scripts/oe-gnome-terminal-phonehome | |
parent | ef38b43dbbeba5c2a2e287b4ffd9645993e4e863 (diff) | |
download | poky-dbb2d923de2ab76e7b93dea1f0a5d6119b1df6a8.tar.gz |
python3: don't use runtime checks to identify float endianism
Python uses AC_RUN_IFELSE to determine the byte order for floats and doubles,
and falls back onto "I don't know" if it can't run code. This results in
crippled floating point numbers in Python, and the regression tests fail.
Instead of running code, take a macro from autoconf-archive which compiles C
with a special double in which has an ASCII representation, and then greps the
binary to identify the format.
(From OE-Core rev: 1781b87ae0765c1867da2fa8c56bf988b4e84405)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-gnome-terminal-phonehome')
0 files changed, 0 insertions, 0 deletions