Browse Source

configure: Hack to treat x32 as x86_64.

Allows shared compilation on x32 with --disable-asm.
(cherry picked from commit 5e8e2f3861)
tags/n2.4.4
Reimar Döffinger Carl Eugen Hoyos 11 years ago
parent
commit
3e0802e42b
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      configure

+ 3
- 0
configure View File

@@ -3933,6 +3933,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


Loading…
Cancel
Save