commit | 1a17cfdb5e261459920212531d8f5e0eedfb267b | [log] [tgz] |
---|---|---|
author | Aaron Carroll <aaronc@cse.unsw.edu.au> | Thu Mar 14 16:57:40 2013 +1100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Mar 14 15:01:58 2013 +0100 |
tree | 3c1d3d37fce4e90954edf6635ad0e4c0118406df | |
parent | 142429e5ae9ac82c3e37af759f12d058f8259e23 [diff] |
configure: endianness check for cross compile - Add a cross compile check: assume yes if we can't run a test binary - If cross compiling, revert to a compile-time endianess check. This tries a few possible ways to detect big endian, but otherwise assumes little. We rely on the run-time check to save us if the build-time check is wrong. Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au> Signed-off-by: Jens Axboe <axboe@kernel.dk>