Merge commit 'dd7e63af93b2430b5d42b87a966160c66736342c'
authorJames Almer <jamrial@gmail.com>
Wed, 28 Mar 2018 18:39:08 +0000 (15:39 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 28 Mar 2018 18:39:26 +0000 (15:39 -0300)
* commit 'dd7e63af93b2430b5d42b87a966160c66736342c':
  configure: Restore original endianness test

The test was not changed in 67e8f476b7d3c21686a2d453d052818ac92688b3
Merging only the explanation.

Merged-by: James Almer <jamrial@gmail.com>
configure

index 1d2f4cd..d12c8ba 100755 (executable)
--- a/configure
+++ b/configure
@@ -5400,6 +5400,7 @@ done
 
 check_cc pragma_deprecated "" '_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")'
 
+# The global variable ensures the bits appear unchanged in the object file.
 test_cc <<EOF || die "endian test failed"
 unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
 EOF