pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56163: Solaris 10 support for GNU ld, missing library path
The following reply was made to PR pkg/56163; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/56163: Solaris 10 support for GNU ld, missing library path
Date: Sun, 22 May 2022 23:19:16 +0000
On Wed, May 12, 2021 at 04:30:02PM +0000, Claes N?st?n wrote:
> > I'm pretty sure we can just use COMPILER_LIB_DIRS for this as intended,
> > rather than duplicating all the logic for each platform, i.e.:
> >
> > --- a/devel/binutils/Makefile
> > +++ b/devel/binutils/Makefile
> > @@ -25,9 +25 @@ GNU_CONFIGURE_STRICT= no
> > -# Standard lib dirs on RHEL are named *lib64
> > -LIB_PATH= /lib:/usr/lib
> > -.if exists(/usr/lib64)
> > -LIB_PATH:= /usr/lib64:${LIB_PATH}
> > -.endif
> > -.if exists(/lib64)
> > -LIB_PATH:= /lib64:${LIB_PATH}
> > -.endif
> > -CONFIGURE_ARGS+= --with-lib-path=${LIB_PATH}
> > +CONFIGURE_ARGS+= --with-lib-path=${COMPILER_LIB_DIRS:S/ /:/Wg}
> >
> > Untested though, as I never use gld on SunOS.
> >
>
> Tried it out and seems to be working fine on my Ultra 40 running
> Solaris 10. (and, gld is used as the equivalent patch of what OS-1551
> fixed is not on my system)
Can someone check that this doesn't explode on Linux? It hasn't been
committed but if it doesn't cause fallout it should be.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index