[FFmpeg-devel] [PATCH]Treat x32 as x86_64
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Nov 12 09:57:40 CET 2014
Hi!
This was requested by Andreas.
Please merge, Carl Eugen
-------------- next part --------------
From 5e8e2f3861dfbc4864490401c5209fbc24df3c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger at gmx.de>
Date: Wed, 12 Nov 2014 09:53:01 +0100
Subject: [PATCH 1/2] configure: Hack to treat x32 as x86_64.
Allows shared compilation on x32 with --disable-asm.
---
configure | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure b/configure
index a2d872b..8ad4777 100755
--- a/configure
+++ b/configure
@@ -3950,6 +3950,9 @@ case "$arch" in
;;
x86)
check_64bit x86_32 x86_64 'sizeof(void *) > 4'
+ # Treat x32 as x64 for now. Note it also needs spic=$shared
+ test "$subarch" = "x86_32" && check_cpp_condition stddef.h 'defined(__x86_64__)' &&
+ subarch=x86_64
if test "$subarch" = "x86_64"; then
spic=$shared
fi
--
1.7.10.4
More information about the ffmpeg-devel
mailing list