Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-11-12 11:53:01 +0300
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-11-12 11:53:01 +0300
commit5e8e2f3861dfbc4864490401c5209fbc24df3c29 (patch)
tree154689fb831593d175dcbb301c7c15ab4b7ffad8 /configure
parent9d6ad68fa445b5e160a9277c250cf3238c373a3a (diff)
configure: Hack to treat x32 as x86_64.
Allows shared compilation on x32 with --disable-asm.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index a2d872b68d..8ad477738e 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