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