30 lines
1 KiB
Text
30 lines
1 KiB
Text
Index: ltmain.sh
|
|
--- ltmain.sh.orig
|
|
+++ ltmain.sh
|
|
@@ -4741,7 +4741,7 @@ func_mode_link ()
|
|
# These systems don't actually have a C library (as such)
|
|
test "X$arg" = "X-lc" && continue
|
|
;;
|
|
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
|
|
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-secbsd*)
|
|
# Do not include libc due to us having libc/libc_r.
|
|
test "X$arg" = "X-lc" && continue
|
|
;;
|
|
@@ -4764,7 +4764,7 @@ func_mode_link ()
|
|
esac
|
|
elif test "X$arg" = "X-lc_r"; then
|
|
case $host in
|
|
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
|
|
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-secbsd*)
|
|
# Do not include libc_r directly, use -pthread flag.
|
|
continue
|
|
;;
|
|
@@ -6703,7 +6703,7 @@ func_mode_link ()
|
|
*-*-netbsd*)
|
|
# Don't link with libc until the a.out ld.so is fixed.
|
|
;;
|
|
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
|
|
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-secbsd*)
|
|
# Do not include libc due to us having libc/libc_r.
|
|
;;
|
|
*-*-sco3.2v5* | *-*-sco5v6*)
|