summaryrefslogtreecommitdiff
path: root/scripts/lib/recipetool/create_buildsys_python.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-09-05 11:48:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-07 17:48:27 +0100
commit1781b87ae0765c1867da2fa8c56bf988b4e84405 (patch)
tree8c63e25a50b5ce93be01f639c91b25171dbcd337 /scripts/lib/recipetool/create_buildsys_python.py
parent561577add4b935d9bfb7b7dd6abdc3e26c1d9143 (diff)
downloadopenembedded-core-1781b87ae0765c1867da2fa8c56bf988b4e84405.tar.gz
openembedded-core-1781b87ae0765c1867da2fa8c56bf988b4e84405.tar.bz2
openembedded-core-1781b87ae0765c1867da2fa8c56bf988b4e84405.zip
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
0 files changed, 0 insertions, 0 deletions