[FFmpeg-devel] [PATCH] Improve the detection of architecture x86.

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Mon May 26 18:25:22 CEST 2014


currently FFmpeg fails to build on Debian GNU/Hurd with the following error:
tools/crypto_bench.c: In function 'run_implementation':
tools/crypto_bench.c:261:9: error: implicit declaration of function 
'AV_READ_TIME' [-Werror=implicit-function-declaration]
          t0 = AV_READ_TIME();
cc1: some warnings being treated as errors
common.mak:49: recipe for target 'tools/crypto_bench.o' failed

This problem arises, because the architecture is not correctly detected 
as x86, but instead as 'i686-AT386', which is the output of 'uname -m'.

The attached patch fixes this problem and enables building on Hurd.

Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Improve-the-detection-of-architecture-x86.patch
Type: text/x-diff
Size: 681 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140526/86b26c52/attachment.bin>

More information about the ffmpeg-devel mailing list