1 |
Peter Humphrey wrote: |
2 |
> On Tuesday, 5 December 2017 16:49:28 GMT Raffaele Belardi wrote: |
3 |
> |
4 |
>> Looks like your -fpic modification did not make it through. |
5 |
> |
6 |
> Do I have my syntax wrong, then? |
7 |
> |
8 |
> # cat /etc/portage/package.env |
9 |
> www-client/palemoon nopic |
10 |
> peak ~ # cat /etc/portage/env/nopic |
11 |
> CFLAGS="${CFLAGS} -fPIC" |
12 |
> |
13 |
> I've tried -fPIC and -fpic, but I still get the error: |
14 |
> undefined reference to 'GetDemuxerLog()' |
15 |
> |
16 |
> I used this as guide: |
17 |
> https://wiki.gentoo.org/wiki/Knowledge_Base:Overriding_environment_variables_per_package |
18 |
> |
19 |
|
20 |
Two suggestions, neither of which I believe will solve your problem: |
21 |
- did you rebuild completely palemoon after changing the -fpic into -fPIC? If you issued |
22 |
'emerge' as usual and not 'make' directly in the palemoon build dir then the answer is yes. |
23 |
- could it be that CXXFLAGS is not affected by the CFLAGS change in the package.env? Try |
24 |
specifying both in the nopic file |
25 |
|
26 |
Sorry, I'm out of ideas. |
27 |
|
28 |
raffaele |