Re: [PATCH for-6.1] configure: Fix endianess test with LTO

2021-07-15 Thread Richard Henderson
On 7/15/21 1:39 AM, Thomas Huth wrote: If a user is trying to compile QEMU with link-time optimization enabled by running the configure script like this: .../configure --extra-cflags="-flto" then the endianess test is failing since the magic values do not show up in the intermediate object fi

[PATCH for-6.1] configure: Fix endianess test with LTO

2021-07-15 Thread Thomas Huth
If a user is trying to compile QEMU with link-time optimization enabled by running the configure script like this: .../configure --extra-cflags="-flto" then the endianess test is failing since the magic values do not show up in the intermediate object files there. If the host is a big endian mac