First Commit
[librecmc/package-feed.git] / lang / python3 / patches / 005-fix-libffi-x86-64-configure.patch
1 diff --git a/Modules/_ctypes/libffi/configure b/Modules/_ctypes/libffi/configure
2 index 75f62a7..4d6c9f2 100755
3 --- a/Modules/_ctypes/libffi/configure
4 +++ b/Modules/_ctypes/libffi/configure
5 @@ -17257,20 +17257,12 @@ case "$host" in
6         fi
7         ;;
8  
9 -  i?86-*-* | x86_64-*-*)
10 -       TARGETDIR=x86
11 -       if test $ac_cv_sizeof_size_t = 4; then
12 -         case "$host" in
13 -           *-gnux32)
14 -             TARGET=X86_64
15 -             ;;
16 -           *)
17 -             TARGET=X86
18 -             ;;
19 -          esac
20 -       else
21 -         TARGET=X86_64;
22 -       fi
23 +  i?86-*-*)
24 +       TARGET=X86; TARGETDIR=x86
25 +       ;;
26 +
27 +  x86_64-*-*)
28 +       TARGET=X86_64; TARGETDIR=x86
29         ;;
30  
31    ia64*-*-*)