Gentoo Archives: gentoo-dev

From: Ryan Hill <dirtyepic@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS
Date: Sat, 14 Aug 2010 03:40:59
Message-Id: 20100813214335.4f0b83b9@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS by Markos Chandras
1 On Fri, 13 Aug 2010 18:11:42 +0300
2 Markos Chandras <hwoarang@g.o> wrote:
3
4 > Could someone guide me to add --hash-style=gnu to default/linux/amd64/dev
5 > profile? I don't want to break anything
6
7 The thing is, you can't right now. :D LDFLAGS don't stack, meaning you'd
8 have to do something like
9
10 --- targets/developer/make.defaults 26 Jul 2010 19:15:05 -0000 1.9
11 +++ targets/developer/make.defaults 14 Aug 2010 03:31:18 -0000
12 @@ -12,3 +12,6 @@
13
14 # Log eqawarn messages
15 PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa"
16 +
17 +# Help find packages not respecting LDFLAGS
18 +LDFLAGS="-Wl,--hash-style=gnu ${LDFLAGS}"
19
20
21 Which breaks boost-build (bug #293652). That's why I suggested just putting
22 a message in targets/developer/profile.bashrc (which is otherwise completely
23 useless).
24
25
26 --
27 fonts, gcc-porting, and it's all by design
28 toolchain, wxwidgets to keep us from losing our minds
29 @ gentoo.org EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS Ryan Hill <dirtyepic@g.o>
Re: [gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS Mike Frysinger <vapier@g.o>