From: Daniel Jacobowitz Date: Wed, 17 Sep 2003 14:04:52 +0000 (+0000) Subject: sysv4.h (LIB_LINUX_SPEC): Make -pthread apply to shared libraries. X-Git-Tag: releases/gcc-3.4.0~3701 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43bc5d6b3de833197978a9eec994bc1ad8328f6c;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa323e23d745..5e3578a83bc4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-09-17 Daniel Jacobowitz + + * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Make -pthread apply + to shared libraries. + 2003-09-17 Eric Botcazou PR optimization/11646 diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 39174effe0c0..28a7d6a0e8c0 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