diff options
author | Daniel Jacobowitz <drow@mvista.com> | 2003-09-17 14:04:52 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@gcc.gnu.org> | 2003-09-17 14:04:52 +0000 |
commit | 43bc5d6b3de833197978a9eec994bc1ad8328f6c (patch) | |
tree | 30c387e23857814c9c11cf0593e13c9837f20ad1 /gcc | |
parent | 0b75beaaaf8af46fcbd7bd9ae535a6255737b69a (diff) | |
download | gcc-43bc5d6b3de833197978a9eec994bc1ad8328f6c.zip gcc-43bc5d6b3de833197978a9eec994bc1ad8328f6c.tar.gz gcc-43bc5d6b3de833197978a9eec994bc1ad8328f6c.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa323e2..5e3578a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 39174ef..28a7d6a 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -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 |