From: Jeff Law Date: Mon, 1 Aug 1994 09:21:48 +0000 (-0600) Subject: pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies static linking. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b93f0d49245cad4230a57a20cfb598975fe4e121;p=gcc.git 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 --- diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h index 9ba4f309014..66719e8726d 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"'. */