pa-hpux.h (LINK_SPEC): Search shared libraries by default...
authorJeff Law <law@gcc.gnu.org>
Fri, 25 Jun 1993 17:43:16 +0000 (11:43 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 25 Jun 1993 17:43:16 +0000 (11:43 -0600)
* pa-hpux.h (LINK_SPEC): Search shared libraries by default; turn off
shared library searching if -static is specified.
* pa-ghpux.h (LINK_SPEC): Likewise.

From-SVN: r4727

gcc/config/pa/pa-hpux.h

index 33e2ac7..1316f6e 100644 (file)
@@ -44,4 +44,4 @@ 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"
 
 #undef LINK_SPEC
-#define LINK_SPEC "-u main -a archive"
+#define LINK_SPEC "-u main %{static: -a archive}"