1043 |
# These systems don't actually have a C library (as such) |
# These systems don't actually have a C library (as such) |
1044 |
test "X$arg" = "X-lc" && continue |
test "X$arg" = "X-lc" && continue |
1045 |
;; |
;; |
1046 |
*-*-openbsd*) |
*-*-openbsd* | *-*-freebsd*) |
1047 |
# Do not include libc due to us having libc/libc_r. |
# Do not include libc due to us having libc/libc_r. |
1048 |
test "X$arg" = "X-lc" && continue |
test "X$arg" = "X-lc" && continue |
1049 |
;; |
;; |
1050 |
esac |
esac |
1051 |
elif test "X$arg" = "X-lc_r"; then |
elif test "X$arg" = "X-lc_r"; then |
1052 |
case $host in |
case $host in |
1053 |
*-*-openbsd*) |
*-*-openbsd* | *-*-freebsd*) |
1054 |
# Do not include libc_r directly, use -pthread flag. |
# Do not include libc_r directly, use -pthread flag. |
1055 |
continue |
continue |
1056 |
;; |
;; |
2449 |
*-*-netbsd*) |
*-*-netbsd*) |
2450 |
# Don't link with libc until the a.out ld.so is fixed. |
# Don't link with libc until the a.out ld.so is fixed. |
2451 |
;; |
;; |
2452 |
*-*-openbsd*) |
*-*-openbsd* | *-*-freebsd*) |
2453 |
# Do not include libc due to us having libc/libc_r. |
# Do not include libc due to us having libc/libc_r. |
2454 |
;; |
;; |
2455 |
*) |
*) |