View | Details | Raw Unified | Return to bug 148648
Collapse All | Expand All

(-)files/patch-freebsd.sh (-4 / +13 lines)
Lines 1-5 Link Here
1
--- hints/freebsd.sh
1
--- ./hints/freebsd.sh.orig	2010-05-07 14:34:10.000000000 +0100
2
+++ hints/freebsd.sh
2
+++ ./hints/freebsd.sh	2010-07-16 21:43:38.000000000 +0100
3
@@ -88,6 +88,8 @@
3
@@ -88,6 +88,8 @@
4
 	esac
4
 	esac
5
 	libswanted=`echo $libswanted | sed 's/ malloc / /'`
5
 	libswanted=`echo $libswanted | sed 's/ malloc / /'`
Lines 29-35 Link Here
29
             lddlflags="-shared "
29
             lddlflags="-shared "
30
         fi
30
         fi
31
         cccdlflags='-DPIC -fPIC'
31
         cccdlflags='-DPIC -fPIC'
32
@@ -136,7 +142,7 @@
32
@@ -133,7 +139,7 @@
33
 *)
34
        libpth="/usr/lib /usr/local/lib"
35
        glibpth="/usr/lib /usr/local/lib"
36
-       ldflags="-Wl,-E "
37
+       ldflags="%%PTHREAD_LIBS%% -Wl,-E "
38
         lddlflags="-shared "
39
         cccdlflags='-DPIC -fPIC'
40
        ;;
41
@@ -143,7 +149,7 @@
33
 0*|1*|2*|3*) ;;
42
 0*|1*|2*|3*) ;;
34
 
43
 
35
 *)
44
 *)
Lines 38-44 Link Here
38
 	if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then
47
 	if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then
39
 	    usenm=false
48
 	    usenm=false
40
 	fi
49
 	fi
41
@@ -183,7 +189,9 @@
50
@@ -190,7 +196,9 @@
42
 
51
 
43
 # This script UU/usethreads.cbu will get 'called-back' by Configure 
52
 # This script UU/usethreads.cbu will get 'called-back' by Configure 
44
 # after it has prompted the user for whether to use threads.
53
 # after it has prompted the user for whether to use threads.

Return to bug 148648