Gentoo Archives: gentoo-dev

From: Ali Polatel <hawking@g.o>
To: Gentoo Developers <gentoo-dev@l.g.o>
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-auth/pam_chroot: ChangeLog pam_chroot-0.9.2.ebuild
Date: Mon, 01 Oct 2007 08:31:01
Message-Id: 20071001081901.GA23650@mars
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-auth/pam_chroot: ChangeLog pam_chroot-0.9.2.ebuild by Donnie Berkholz
1 Mon, Oct 01, 2007 at 01:06:42AM -0700 tarihinde, Donnie Berkholz yazmış:
2 > On 07:46 Mon 01 Oct , Ali Polatel (hawking) wrote:
3 > > 1.1 sys-auth/pam_chroot/pam_chroot-0.9.2.ebuild
4 > >
5 > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pam_chroot/pam_chroot-0.9.2.ebuild?rev=1.1&view=markup
6 > > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pam_chroot/pam_chroot-0.9.2.ebuild?rev=1.1&content-type=text/plain
7 >
8 > > LDFLAGS="$(raw-ldflags)" emake \
9 > > CC="$(tc-getCC)" LD="$(tc-getLD)" || die "emake failed"
10 >
11 > This reads really strangely to me. It's passing variables on both sides
12 > of emake. Generally one would just pick a side (afterwards) and add
13 > everything there.
14
15 Well, here is the related part from Makefile:
16
17 LDFLAGS := -x --shared $(LDFLAGS)
18
19 emake LDFLAGS="$(raw-ldflags)" overrides that definition,
20 emake LDFLAGS="-x --shared $(raw-ldflags)" works as expected, or my
21 version, maybe I should add a note about it to the ebuild...
22
23 > Thanks,
24 > Donnie
25
26 --
27 ali polatel (hawking)

Replies