[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] LDFLAGS=-Wl,--hash-style=gnu
From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta () gmail ! com>
Date: 2008-07-16 18:35:49
Message-ID: 200807162036.04704.Arfrever.FTA () gmail ! com
[Download RAW message or body]
2008-07-16 18:38:47 Doug Goldstein napisaĆ(a):
> Doug Goldstein wrote:
> > all,
> >
> > I'm at the point that -Wl,-O1 appears to be successful. It's time to
> > toss on -Wl,--hash-style=gnu. The issue is that we need glibc 2.5 or
> > higher and not mips. So one solution is to put the following:
> >
> > default/linux: LDFLAGS="-Wl,-O1,--hash-style=gnu"
> > default/linux/mips: LDFLAGS="-Wl,-O1"
> >
> > However, this means we'll have to put a has_version check in
> > profile.bashrc of default/linux, which seems a bit cludgy..
> >
> > Any suggestions? Comments?
> Given the benefits vs the annoyances of not all platforms supporting it
> and requiring 2 has_version checks in profile.bashrc.
has_version checks can be called only once per package:
if [[ "${EBUILD_PHASE}" == "setup" ]] ; then
if has_version "<sys-libs/glibc-2.5" || has_version "<sys-devel/binutils-2.17.50.0.2" ; then
LDFLAGS="${LDFLAGS//-Wl,--hash-style=gnu/}"
fi
fi
--
Arfrever Frehtes Taifersar Arahesis
["signature.asc" (application/pgp-signature)]
--
gentoo-dev@lists.gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic