aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1993-06-25 11:43:16 -0600
committerJeff Law <law@gcc.gnu.org>1993-06-25 11:43:16 -0600
commit816edf8b027a5444221622720e280717a3d71752 (patch)
tree8b4dcc14864640a4f352b1db4c7e81fc852850c2 /gcc
parentd5e87e5eedc78f7e1065d550800ae5127615920c (diff)
downloadgcc-816edf8b027a5444221622720e280717a3d71752.zip
gcc-816edf8b027a5444221622720e280717a3d71752.tar.gz
gcc-816edf8b027a5444221622720e280717a3d71752.tar.bz2
pa-hpux.h (LINK_SPEC): Search shared libraries by default...
* 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
Diffstat (limited to 'gcc')
-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 33e2ac7..1316f6e 100644
--- a/gcc/config/pa/pa-hpux.h
+++ b/gcc/config/pa/pa-hpux.h
@@ -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}"