(LINK_SPEC): Pass "-a -archive" when debugging.
authorTorbjorn Granlund <tege@gnu.org>
Fri, 1 Oct 1993 22:19:39 +0000 (22:19 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Fri, 1 Oct 1993 22:19:39 +0000 (22:19 +0000)
(LIB_SPEC): Make sure to add space between flags.

From-SVN: r5546

gcc/config/pa/pa-hpux.h

index 2e5b150f5ee5b2fd67e51806612c803a71b250e4..12c69dbc26c4ecf2a3294201fd1cc1c55ea24c99 100644 (file)
@@ -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}"