From 3e146e90e5672a6f4f8eec15848af491b6fb0654 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 31 Dec 1992 09:11:11 -0700 Subject: [PATCH] pa-hpux.h (LIB_SPEC): Fix so that one can link in profiled libraries under HPUX. * pa-hpux.h (LIB_SPEC): Fix so that one can link in profiled libraries under HPUX. * pa-ghpux.h, pa-hpux7.h, pa-gux7.h (LIB_SPEC): Likewise. From-SVN: r3011 --- gcc/config/pa/pa-hpux.h | 2 +- gcc/config/pa/pa-hpux7.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h index 555a9d6770f..0be90ef0a07 100644 --- a/gcc/config/pa/pa-hpux.h +++ b/gcc/config/pa/pa-hpux.h @@ -38,7 +38,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef DBX_DEBUGGING_INFO /* Like the default, except no -lg. */ -#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" +#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-L/lib/libp/ -lc}%{pg:-L/lib/libp/ -lc}" /* Control how gcc finds libgcc.a and how it passes -L options. */ #define LINK_LIBGCC_SPECIAL diff --git a/gcc/config/pa/pa-hpux7.h b/gcc/config/pa/pa-hpux7.h index be913ebda67..47ae6649a98 100644 --- a/gcc/config/pa/pa-hpux7.h +++ b/gcc/config/pa/pa-hpux7.h @@ -38,7 +38,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef DBX_DEBUGGING_INFO /* Like the default, except no -lg. */ -#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" +#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-L/lib/libp/ -lc}%{pg:-L/lib/libp/ -lc}" /* Control how gcc finds libgcc.a and how it passes -L options. */ #define LINK_LIBGCC_SPECIAL -- 2.30.2