aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1994-08-01 03:21:48 -0600
committerJeff Law <law@gcc.gnu.org>1994-08-01 03:21:48 -0600
commitb93f0d49245cad4230a57a20cfb598975fe4e121 (patch)
treeb380710cd9dca969c1979ddf3712c811daf4b249
parent9175051cae8912e5c5a8b7b52c4f2b12fba64c5f (diff)
downloadgcc-b93f0d49245cad4230a57a20cfb598975fe4e121.zip
gcc-b93f0d49245cad4230a57a20cfb598975fe4e121.tar.gz
gcc-b93f0d49245cad4230a57a20cfb598975fe4e121.tar.bz2
pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies static linking.
* pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies static linking. From-SVN: r7843
-rw-r--r--gcc/config/pa/pa-hpux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h
index 9ba4f30..66719e8 100644
--- a/gcc/config/pa/pa-hpux.h
+++ b/gcc/config/pa/pa-hpux.h
@@ -42,7 +42,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D_HPUX_SOURCE -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa)"
#undef LINK_SPEC
-#define LINK_SPEC "-u main %{static: -a archive}%{g: -a archive}"
+#define LINK_SPEC "-u main %{static: -a archive}%{g*: -a archive}"
/* hpux8 and later have C++ compatable include files, so do not
pretend they are `extern "C"'. */