From: Jeff Law Date: Fri, 25 Jun 1993 17:43:16 +0000 (-0600) Subject: pa-hpux.h (LINK_SPEC): Search shared libraries by default... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=816edf8b027a5444221622720e280717a3d71752;p=gcc.git 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 --- diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h index 33e2ac73838..1316f6ea0d2 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}"