sysv4.h (LIB_LINUX_SPEC): Make -pthread apply to shared libraries.

* config/rs6000/sysv4.h (LIB_LINUX_SPEC): Make -pthread apply
	to shared libraries.

From-SVN: r71458
This commit is contained in:
Daniel Jacobowitz 2003-09-17 14:04:52 +00:00 committed by Daniel Jacobowitz
parent 0b75beaaaf
commit 43bc5d6b3d
2 changed files with 6 additions and 1 deletions

View 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

View 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