aix53.h (LIB_SPEC): Add -lpthreads when compiling to generate profiling.

* config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
        to generate profiling.
        * config/rs6000/aix64.h (LIB_SPEC): Same.

From-SVN: r194930
This commit is contained in:
David Edelsohn 2013-01-05 14:04:56 +00:00 committed by David Edelsohn
parent 1742d2b2cb
commit a89599d2a6
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2013-01-05 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
to generate profiling.
* config/rs6000/aix64.h (LIB_SPEC): Same.
2013-01-04 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):

View File

@ -128,6 +128,7 @@ do { \
#define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\
%{p:-L%R/lib/profiled -L%R/usr/lib/profiled}\
%{!maix64:%{!shared:%{g*:-lg}}}\
%{fprofile-arcs|fprofile-generate*|coverage:-lpthreads}\
%{mpe:-L%R/usr/lpp/ppe.poe/lib -lmpi -lvtd}\
%{pthread:-lpthreads} -lc"

View File

@ -148,6 +148,7 @@ do { \
#define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\
%{p:-L%R/lib/profiled -L%R/usr/lib/profiled}\
%{!maix64:%{!shared:%{g*:-lg}}}\
%{fprofile-arcs|fprofile-generate*|coverage:-lpthreads}\
%{mpe:-L%R/usr/lpp/ppe.poe/lib -lmpi -lvtd}\
%{pthread:-lpthreads} -lc"