blob: 93009a29d79c6ddeafb1c3b529d1dde3219408d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- ltmain.sh.orig Tue Nov 13 21:50:10 2001
+++ ltmain.sh Sat Nov 24 22:47:52 2001
@@ -953,6 +953,7 @@
;;
-avoid-version)
+ build_old_libs=no
avoid_version=yes
continue
;;
@@ -1040,7 +1041,7 @@
# These systems don't actually have a C library (as such)
test "X$arg" = "X-lc" && continue
;;
- *-*-openbsd*)
+ *-*-openbsd* | *-*-freebsd* )
# Do not include libc due to us having libc/libc_r.
test "X$arg" = "X-lc" && continue
;;
@@ -1048,7 +1049,7 @@
fi
if test "X$arg" = "X-lc_r"; then
case $host in
- *-*-openbsd*)
+ *-*-openbsd* | *-*-freebsd* )
# Do not include libc_r directly, use -pthread flag.
continue
;;
@@ -2439,7 +2440,7 @@
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
;;
- *-*-openbsd*)
+ *-*-openbsd* | *-*-freebsd* )
# Do not include libc due to us having libc/libc_r.
;;
*)
|