pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies static linking.
authorJeff Law <law@gcc.gnu.org>
Mon, 1 Aug 1994 09:21:48 +0000 (03:21 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 1 Aug 1994 09:21:48 +0000 (03:21 -0600)
* pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies
static linking.

From-SVN: r7843

gcc/config/pa/pa-hpux.h

index 9ba4f30901456b1f7f91ef9a71e8dadf8c7b057e..66719e8726dbf4a0b6452bb13d4ca0c3d005b83d 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"'.  */