Commit 5e8e2f38 authored by Reimar Döffinger's avatar Reimar Döffinger Committed by Carl Eugen Hoyos

configure: Hack to treat x32 as x86_64.

Allows shared compilation on x32 with --disable-asm.
parent 9d6ad68f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment