hpux.h (LIB_SPEC): Add -lrt for when using -pthread -fopenmp

2009-08-27  Steve Ellcey  <sje@cup.hp.com>

	* config/ia64/hpux.h (LIB_SPEC): Add -lrt for when
	using -pthread -fopenmp

From-SVN: r151151
This commit is contained in:
Steve Ellcey 2009-08-27 22:35:16 +00:00 committed by Steve Ellcey
parent 2711df1855
commit 715fda9936
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-08-27 Steve Ellcey <sje@cup.hp.com>
* config/ia64/hpux.h (LIB_SPEC): Add -lrt for when
using -pthread -fopenmp
2009-08-27 Gerald Pfeifer <gerald@pfeifer.com>
* doc/service.texi (service directory): Update URL.

View File

@ -86,7 +86,7 @@ do { \
#undef LIB_SPEC
#define LIB_SPEC \
"%{!shared: \
%{mt|pthread:-lpthread} \
%{mt|pthread:%{fopenmp:-lrt} -lpthread} \
%{p:%{!mlp64:-L/usr/lib/hpux32/libp} \
%{mlp64:-L/usr/lib/hpux64/libp} -lprof} \
%{pg:%{!mlp64:-L/usr/lib/hpux32/libp} \