1 |
On 03/17/2011 03:18 PM, Mike Frysinger wrote: |
2 |
> On Thursday, March 17, 2011 17:59:44 Kevin F. Quinn wrote: |
3 |
>> I'd suggest doing something like: |
4 |
>> |
5 |
>> use hardened && elog ... |
6 |
>> |
7 |
>> There's an argument that it's better to make decisions according to |
8 |
>> make.conf settings rather than the host system configuration, not |
9 |
>> least to cater for people doing cross-builds. Assuming cross builds |
10 |
>> work at all; I've not tried that for a long time. |
11 |
> |
12 |
> in general, yes. but this would have the unpleasant side effect of having |
13 |
> IUSE=hardened show up for all packages that inherit the eclass. |
14 |
> |
15 |
> also, this code is run at the pkg_* stage, so it's not the normal src host |
16 |
> feature detection. and we're talking about minor output behavior. |
17 |
> -mike |
18 |
|
19 |
I don't know the specifics of what PMS says about this, if you put |
20 |
hardened in use.force then portage will allow you to use that flag |
21 |
without it being in IUSE. |
22 |
-- |
23 |
Thanks, |
24 |
Zac |