aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix53.h
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2013-01-05 14:04:56 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2013-01-05 09:04:56 -0500
commita89599d2a6017bf0cabcbdc0a5355c20fed65a82 (patch)
treec1ed446e4083ea65dd2296189335c282848544d4 /gcc/config/rs6000/aix53.h
parent1742d2b2cb794fb3dc4af3369c7fca3ab9a8bb45 (diff)
downloadgcc-a89599d2a6017bf0cabcbdc0a5355c20fed65a82.zip
gcc-a89599d2a6017bf0cabcbdc0a5355c20fed65a82.tar.gz
gcc-a89599d2a6017bf0cabcbdc0a5355c20fed65a82.tar.bz2
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
Diffstat (limited to 'gcc/config/rs6000/aix53.h')
-rw-r--r--gcc/config/rs6000/aix53.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix53.h b/gcc/config/rs6000/aix53.h
index baafb51..3256190 100644
--- a/gcc/config/rs6000/aix53.h
+++ b/gcc/config/rs6000/aix53.h
@@ -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"