* pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 1994 09:21:48 +0000 (09:21 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 1994 09:21:48 +0000 (09:21 +0000)
static linking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7843 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/pa/pa-hpux.h

index 9ba4f30..66719e8 100644 (file)
@@ -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"'.  */