From: | Donnie Berkholz <dberkholz@g.o> |
---|---|
To: | gentoo-dev@l.g.o, marineam@g.o |
Subject: | [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-emulation/xen: ChangeLog xen-3.1.1.ebuild |
Date: | Mon, 15 Oct 2007 22:30:17 |
Message-Id: | 20071015221718.GL23990@supernova |
1 | On 18:33 Mon 15 Oct , Micheal Marineau (marineam) wrote: |
2 | > 1.1 app-emulation/xen/xen-3.1.1.ebuild |
3 | > |
4 | > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/xen-3.1.1.ebuild?rev=1.1&view=markup |
5 | > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/xen-3.1.1.ebuild?rev=1.1&content-type=text/plain |
6 | |
7 | > src_compile() { |
8 | > local myopt |
9 | > use debug && myopt="${myopt} debug=y" |
10 | > use pae && myopt="${myopt} pae=y" |
11 | > |
12 | > if use custom-cflags; then |
13 | > filter-flags -fPIE -fstack-protector |
14 | > else |
15 | > unset CFLAGS |
16 | > fi |
17 | > |
18 | > # Send raw LDFLAGS so that --as-needed works |
19 | > emake LDFLAGS="$(raw-ldflags)" -C xen ${myopt} || die "compile failed" |
20 | > } |
21 | > |
22 | > src_install() { |
23 | > local myopt |
24 | > use debug && myopt="${myopt} debug=y" |
25 | > use pae && myopt="${myopt} pae=y" |
26 | |
27 | The environment should be preserved across phases, so you shouldn't have |
28 | to repeat this stuff. |
29 | |
30 | Thanks, |
31 | Donnie |
32 | -- |
33 | gentoo-dev@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-emulation/xen: ChangeLog xen-3.1.1.ebuild | Mike Frysinger <vapier@g.o> |