* config/rs6000/sysv4.h (LIB_LINUX_SPEC): Make -pthread apply
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Sep 2003 14:04:52 +0000 (14:04 +0000)
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Sep 2003 14:04:52 +0000 (14:04 +0000)
to shared libraries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71458 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index aa323e2..5e3578a 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Make -pthread apply
+       to shared libraries.
+
 2003-09-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        PR optimization/11646
index 39174ef..28a7d6a 100644 (file)
@@ -1065,7 +1065,7 @@ extern int fixuplabelno;
 
 /* GNU/Linux support.  */
 #define LIB_LINUX_SPEC "%{mnewlib: --start-group -llinux -lc --end-group } \
-%{!mnewlib: %{shared:-lc} %{!shared: %{pthread:-lpthread } \
+%{!mnewlib: %{shared:-lc} %{pthread:-lpthread } %{!shared: \
 %{profile:-lc_p} %{!profile:-lc}}}"
 
 #ifdef HAVE_LD_PIE