[FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Nov 2 10:44:43 CET 2014
Configures it as x86_64 with assembler disabled.
Does not pass "make fate" though, e.g. fate-vc1_ilaced_twomv fails.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
configure | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure b/configure
index e79b34d..c9008ba 100755
--- a/configure
+++ b/configure
@@ -3958,6 +3958,9 @@ case "$arch" in
;;
x86)
check_64bit x86_32 x86_64 'sizeof(void *) > 4'
+ # Treat x32 as x64 without asm for now. Note it also needs spic=$shared
+ test "$subarch" = "x86_32" && check_cpp_condition stddef.h 'defined(__x86_64__)' &&
+ disable asm && subarch=x86_64
if test "$subarch" = "x86_64"; then
spic=$shared
fi
--
2.1.1
More information about the ffmpeg-devel
mailing list