summaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa-hpux11.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/pa/pa-hpux11.h')
-rw-r--r--gcc/config/pa/pa-hpux11.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h
index 3e5207a669d..600b6775316 100644
--- a/gcc/config/pa/pa-hpux11.h
+++ b/gcc/config/pa/pa-hpux11.h
@@ -147,7 +147,7 @@ along with GCC; see the file COPYING3. If not see
#undef LIB_SPEC
#define LIB_SPEC \
"%{!shared:\
- %{fopenacc|fopenmp|ftree-parallelize-loops=*:\
+ %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\
%{static:-a archive_shared} -lrt %{static:-a archive}}\
%{mt|pthread:-lpthread} -lc\
%{static:%{!nolibdld:-a archive_shared -ldld -a archive -lc}\