git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6ad68
)
configure: Hack to treat x32 as x86_64.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 12 Nov 2014 08:53:01 +0000
(09:53 +0100)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Wed, 12 Nov 2014 08:53:01 +0000
(09:53 +0100)
Allows shared compilation on x32 with --disable-asm.
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
a2d872b
..
8ad4777
100755
(executable)
--- 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