summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-03-28 15:39:08 -0300
committerJames Almer <jamrial@gmail.com>2018-03-28 15:39:26 -0300
commit18195e570cfb83149e5eea203b4b5ee84babd420 (patch)
treebdb059b80f2affbcd2542de3d67253cf940c428b /configure
parentc00579ab32aa620116c97dbc52c4c31418bc7fbb (diff)
parentdd7e63af93b2430b5d42b87a966160c66736342c (diff)
downloadffmpeg-18195e570cfb83149e5eea203b4b5ee84babd420.tar.gz
Merge commit 'dd7e63af93b2430b5d42b87a966160c66736342c'
* 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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 1d2f4cdb1a..d12c8ba77c 100755
--- 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