* x86-64 architectures are reported as amd64 by uname -r * FreeBSD platform don't need -ldl for linking
Unified · Split
| @@ -54,6 +54,7 @@ case $targetos in · 53 unmodified lines | |||
| 54 | MINGW32*) mingw32=yes;; | 54 | MINGW32*) mingw32=yes;; |
| 55 | DragonFly) noldl=yes;; | 55 | DragonFly) noldl=yes;; |
| 56 | OpenBSD) noldl=yes;; | 56 | OpenBSD) noldl=yes;; |
| 57 | FreeBSD) noldl=yes;; | ||
| 57 | *) ;; | 58 | *) ;; |
| 58 | esac | 59 | esac |
| 59 | 60 | ||
| @@ -72,7 +73,7 @@ case "$cpu" in · 12 unmodified lines | |||
| 72 | i386|i486|i586|i686|i86pc|BePC|i686-AT386) | 73 | i386|i486|i586|i686|i86pc|BePC|i686-AT386) |
| 73 | cpu="x86" | 74 | cpu="x86" |
| 74 | ;; | 75 | ;; |
| 75 | x86_64) | 76 | x86_64|amd64) |
| 76 | cpu="x86-64" | 77 | cpu="x86-64" |
| 77 | ;; | 78 | ;; |
| 78 | arm*) | 79 | arm*) |