pa-hpux.h (LIB_SPEC): Fix so that one can link in profiled libraries under HPUX.
authorJeff Law <law@gcc.gnu.org>
Thu, 31 Dec 1992 16:11:11 +0000 (09:11 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 31 Dec 1992 16:11:11 +0000 (09:11 -0700)
* 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
gcc/config/pa/pa-hpux7.h

index 555a9d6770f24ca52693a76545587013f7bf1ddd..0be90ef0a07e13b0f8deeb8f2db3f2e0cc2ee230 100644 (file)
@@ -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
index be913ebda6786aaf4dd3e78aea9af7318c30c7cf..47ae6649a985d50ba07d5943ea253019d8586def 100644 (file)
@@ -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