Unified · Split
| @@ -3773,7 +3773,7 @@ check_host_cflags $host_cflags_speed · 3772 unmodified lines | |||
| 3773 | check_64bit(){ | 3773 | check_64bit(){ |
| 3774 | arch32=$1 | 3774 | arch32=$1 |
| 3775 | arch64=$2 | 3775 | arch64=$2 |
| 3776 | expr=$3 | 3776 | expr=${3:-'sizeof(void *) > 4'} |
| 3777 | check_code cc "" "int test[2*($expr) - 1]" && | 3777 | check_code cc "" "int test[2*($expr) - 1]" && |
| 3778 | subarch=$arch64 || subarch=$arch32 | 3778 | subarch=$arch64 || subarch=$arch32 |
| 3779 | enable $subarch | 3779 | enable $subarch |
| @@ -3788,23 +3788,23 @@ case "$arch" in · 8 unmodified lines | |||
| 3788 | enabled shared && enable_weak pic | 3788 | enabled shared && enable_weak pic |
| 3789 | ;; | 3789 | ;; |
| 3790 | parisc) | 3790 | parisc) |
| 3791 | check_64bit parisc parisc64 'sizeof(void *) > 4' | 3791 | check_64bit parisc parisc64 |
| 3792 | enabled shared && enable_weak pic | 3792 | enabled shared && enable_weak pic |
| 3793 | ;; | 3793 | ;; |
| 3794 | ppc) | 3794 | ppc) |
| 3795 | check_64bit ppc ppc64 'sizeof(void *) > 4' | 3795 | check_64bit ppc ppc64 |
| 3796 | enabled shared && enable_weak pic | 3796 | enabled shared && enable_weak pic |
| 3797 | ;; | 3797 | ;; |
| 3798 | s390) | 3798 | s390) |
| 3799 | check_64bit s390 s390x 'sizeof(void *) > 4' | 3799 | check_64bit s390 s390x |
| 3800 | enabled shared && enable_weak pic | 3800 | enabled shared && enable_weak pic |
| 3801 | ;; | 3801 | ;; |
| 3802 | sparc) | 3802 | sparc) |
| 3803 | check_64bit sparc sparc64 'sizeof(void *) > 4' | 3803 | check_64bit sparc sparc64 |
| 3804 | enabled shared && enable_weak pic | 3804 | enabled shared && enable_weak pic |
| 3805 | ;; | 3805 | ;; |
| 3806 | x86) | 3806 | x86) |
| 3807 | check_64bit x86_32 x86_64 'sizeof(void *) > 4' | 3807 | check_64bit x86_32 x86_64 |
| 3808 | if enabled x86_64; then | 3808 | if enabled x86_64; then |
| 3809 | enabled shared && enable_weak pic | 3809 | enabled shared && enable_weak pic |
| 3810 | objformat=elf64 | 3810 | objformat=elf64 |