aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1993-10-01 22:19:39 +0000
committerTorbjorn Granlund <tege@gnu.org>1993-10-01 22:19:39 +0000
commit37328f92f81224abadb5754614b0f9a969673a7d (patch)
tree212684b1a616ff1d0d95b000554aa54c719cd6a9 /gcc
parentd4c5360df0ecf6dbc516ca4a31d583946e0b033e (diff)
downloadgcc-37328f92f81224abadb5754614b0f9a969673a7d.zip
gcc-37328f92f81224abadb5754614b0f9a969673a7d.tar.gz
gcc-37328f92f81224abadb5754614b0f9a969673a7d.tar.bz2
(LINK_SPEC): Pass "-a -archive" when debugging.
(LIB_SPEC): Make sure to add space between flags. From-SVN: r5546
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa-hpux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h
index 2e5b150..12c69db 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}"