aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/bprint.c
diff options
context:
space:
mode:
authorJ. Dekker <jdek@itanimul.li>2024-03-27 05:53:16 +0100
committerJ. Dekker <jdek@itanimul.li>2024-04-09 15:34:13 +0200
commit3090106635b32ee042fe3bb914b7c7863daa1d11 (patch)
tree8c879ff382b60a0195f37de3c575a6997e632af1 /libavutil/bprint.c
parent459648761f5412acdc3317d5bac982ceaa257584 (diff)
downloadffmpeg-3090106635b32ee042fe3bb914b7c7863daa1d11.tar.gz
configure: simplify bigendian check
The preferred way to use LTO is --enable-lto but often times packagers still end up with -flto in cflags for various reasons. Using grep on binary object files is brittle and relies on specific object representation, which in the case of LLVM bitcode, debug information or other intermediary formats can fail silently. This patch changes the check to a more commonly used define for GCC style compilers. More checks may be needed to cover other potential compilers that don't use the __BYTE_ORDER__ define. Signed-off-by: J. Dekker <jdek@itanimul.li>
Diffstat (limited to 'libavutil/bprint.c')
0 files changed, 0 insertions, 0 deletions