From 37328f92f81224abadb5754614b0f9a969673a7d Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Fri, 1 Oct 1993 22:19:39 +0000 Subject: [PATCH] (LINK_SPEC): Pass "-a -archive" when debugging. (LIB_SPEC): Make sure to add space between flags. From-SVN: r5546 --- gcc/config/pa/pa-hpux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h index 2e5b150f5ee..12c69dbc26c 100644 --- a/gcc/config/pa/pa-hpux.h +++ b/gcc/config/pa/pa-hpux.h @@ -40,10 +40,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define DEFAULT_GDB_EXTENSIONS 0 /* Like the default, except no -lg. */ -#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-L/lib/libp/ -lc}%{pg:-L/lib/libp/ -lc}" +#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}" #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D_HPUX_SOURCE" #undef LINK_SPEC -#define LINK_SPEC "-u main %{static: -a archive}" +#define LINK_SPEC "-u main %{static: -a archive}%{g: -a archive}" -- 2.30.2